Question

Cannot ping newly created droplet, but ssh and browsing to the IP address work. Firewall is disabled

Hi All,

I have the same issue described here https://www.digitalocean.com/community/questions/scp-fails-while-ssh-works

Any suggestions? The droplet was created using the LAMP image from the marketplace, and UFW is disabled.

Show comments

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.

Accepted Answer

Hello,

I tried recreating this at my end and indeed once you deploy the LAMP image from the marketplace you can not ping it. But once I’ve disabled the UFW I was able to ping it.

Can you run the following commands and provide me with the output:

  • First check the UFW status:
ufw status
  • Then disable the firewall
ufw disable
  • Then check te status again and make sure that it is inactive:
ufw status

Regarding the scp and the rsync commands, they run over ssh so if you are able to ssh there should be no reason not to be able to use the commands. Can you share the exact commands that you are using and the output that you get?

Regards, Bobby

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.