Report this

What is the reason for this report?

I cant connect with a web browser to my ipv4 address, it says access denied?

Posted on May 20, 2025

I cant connect with a web browser to my ipv4 address, it says access denied?



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.

Hi there,

You need to make sure your web server (like NGINX or Apache) is running and listening on the correct port (usually 80 or 443):

https://www.digitalocean.com/community/tutorials/how-to-install-linux-nginx-mysql-php-lemp-stack-on-ubuntu-20-04

Also, check that your firewall (UFW or DigitalOcean Cloud Firewall) allows inbound HTTP/HTTPS traffic:

https://docs.digitalocean.com/products/networking/firewalls/how-to/configure-rules/

https://www.digitalocean.com/community/tutorials/ufw-essentials-common-firewall-rules-and-commands

Also double-check that your app is actually serving content on the public IP, not just localhost.

- Bobby

Heya, @2f65c0f70d214d31912b3a09c19ec1

If you’re using DigitalOcean Cloud Firewalls, go to your project’s Networking > Firewalls, and ensure rules allow:

  • Port 80 (HTTP)

  • Port 443 (HTTPS)

Also, if you’re using UF,W check for any existing rules that will prevent you from connecting.

Regards

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.