I just created my VPS but I cannot access the Public IPv4 address. What do I have to do?
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!
Hey there š
If you just created the VPS, itās normal that nothing shows up when you try to access the IP from Chrome, unless youāve already set up a web server like Nginx or Apache, there wonāt be anything listening on port 80. You can start by SSH-ing into the Droplet using:
ssh root@your_public_ip
From there, check if you have a web server installed. If not, something like Nginx is a good place to start:
sudo apt update && sudo apt install nginx -y
Also double-check if your firewall (either ufw
or the cloud firewall in the DigitalOcean dashboard) is allowing incoming connections on HTTP (80) and HTTPS (443). You can open those with:
sudo ufw allow http
sudo ufw allow https
Let me know what exactly youāre trying to host!
- Bobby
Heya, @e8e97518702d481d82ecdfabcbbfcf
Your VPS might have a firewall (like ufw
, firewalld
, or a cloud provider firewall) blocking incoming connections.
If youāre using UFW, check with:
sudo ufw status
To allow SSH, HTTP, and HTTPS:
sudo ufw allow ssh
sudo ufw allow http
sudo ufw allow https
sudo ufw enable
Also you can check if there is an active Cloud Firewall rule:
https://docs.digitalocean.com/products/networking/firewalls/how-to/view-rules-for-droplet/
Regards
First thing Iād check is whether your firewall (like ufw or firewalld) is allowing inbound traffic on the ports you expect, especially port 80 (HTTP) or 22 (SSH).
Also make sure your dropletās networking is configured correctly and the service youāre trying to reach is running and listening on the right interface. You can test with curl or nmap from another server if unsure.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOceanās Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow ā whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.