Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
Country-based firewall on Digital Ocean? SSH access not working on while Console access works
ssh: connect to host 188.8.131.52 port 22: Resource temporarily unavailable
I enabled the 22 port and restarted ssh service.
When I ping from a web service I get a reposnse:
PING 184.108.40.206 (220.127.116.11) 56(84) bytes of data. 64 bytes from 18.104.22.168: icmp_seq=1 ttl=48 time=97.5 ms 64 bytes from 22.214.171.124: icmp_seq=2 ttl=48 time=97.2 ms 64 bytes from 126.96.36.199: icmp_seq=3 ttl=48 time=97.1 ms --- 188.8.131.52 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2000ms rtt min/avg/max/mdev = 97.143/97.313/97.594/0.411 ms
When doing the ping form my computer I get no output.
Got an impression there is a IP or country-based firewall on Digital Ocean. For example, when putting the address in a browser with SSH-tunnel I get
dial tcp 184.108.40.206:80: connect: connection refused
when just putting this into browser I get no response.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×