Why would port 80 come up closed from a digitalocean VPS but not from the web?

If I am on a computer at home, I can go to And if from a windows or linux computer at home I do

C:\blah>nmap -p80    


$nmap -p80

Then it shows as open

And I can do wget

However, if I try from a DigitalOcean VPS

It doesn’t work

> root@ubuntu-s-1vcpu-1gb-lon1-01:~# wget 
> --2022-09-12 05:03:03--
> Connecting to ^C
> root@ubuntu-s-1vcpu-1gb-lon1-01:~# nmap -p80 
> Starting Nmap 7.80 ( ) at 2022-09-12 05:03 UTC
> Nmap scan report for
> Host is up (0.14s latency).
> 80/tcp filtered http
> Nmap done: 1 IP address (1 host up) scanned in 1.77 seconds
> root@ubuntu-s-1vcpu-1gb-lon1-01:~# 
> `


Submit an answer
Answer a question...

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.

Sorry, turned out that from my home computer I could access it, but everybody else couldn’t. I had a firewall rule on the VPS that only my IP could access port 80.

I was checking the firewall before but I was only checking the firewall on the VPS I was checking from! I should have checked the firewall on the server itself!

Site Moderator
Site Moderator badge
September 12, 2022

Hello @userdo

You can also double-check if there are no Firewall rules in place that can cause such behaviour.


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.

Site Moderator
Site Moderator badge
September 12, 2022

Hi @userdo,

Are you sure the port from the DigitalOcean Droplet is not closed and thus not allowing you to reach other ports on different machines?

I see this as the only explanation.