Question

Cannot ping the ip

Why can’t I ping the ip address of the server and always show that the request has timed out? Is there any good solution?


Submit an answer


This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

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.

KFSys
Site Moderator
Site Moderator badge
March 26, 2023

Hey @ycchan2001,

That probably means your Droplet is down or it’s just unreachable.

Try to connect to your Droplet using the Web Console or if that doesn’t work the Recovery Console:

** Web Console ** https://docs.digitalocean.com/products/droplets/how-to/connect-with-console/

** Recovery Console ** https://docs.digitalocean.com/products/droplets/how-to/recovery/recovery-console/

Once inside, try to ping google.com see if it works. If it doesn’t it would mean your Network is not working correctly. Then you can check this tutorial page:

https://docs.digitalocean.com/support/check-your-droplets-network-configuration/

alexdo
Site Moderator
Site Moderator badge
March 26, 2023

Hello @ycchan2001

If your Droplet is behind a cloud firewall, you need to add an inbound traffic rule that allows ICMP traffic to reach the Droplet. The ping diagnostic tool uses the ICMP protocol to verify connections. If your cloud firewall doesn’t have an inbound rule for ICMP, it will block any attempts to the reach the Droplet with ping.

https://docs.digitalocean.com/support/check-your-droplets-network-configuration/

Regards

Try DigitalOcean for free

Click below to sign up and get $200 of credit to try our products over 60 days!

Sign up