Report this

What is the reason for this report?

Port 80 failed: Connection refused

Posted on January 26, 2017

Suddenly my server down !, and when tried curl http://myip -v

* Rebuilt URL to: http://myip/
*   Trying myip...
* connect to myip port 80 failed: Connection refused
* Failed to connect to myip port 80: Connection refused
* Closing connection 0
curl: (7) Failed to connect to myip port 80: Connection refused

How detect the reason ? which log file can i see it ?

Please help.



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!

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.

My 2 cents: it happened to me when having a bad line in the .conf file (in my case a comment was uncommented :P )

Everything was working fine and suddenly this issue appeared +1. I can’t find what’s wrong 😢


I think it might be some issue with Digital Ocean service. After this reply for several minutes, all connections worked again, I didn’t make any changes on my server.

I have the same problem since this morning. A quick scan on nmap revealed that my port 80 is being closed on the remote server. I have advised the support team and waiting for a response.

Hope this helps,

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.