My droplet IP Address is 128.199.27.104 and the PM2 status is showing online. I am not able to connect it, its showing “The site can’t be reached”.
I have added the name servers ns2.digitalocean.com ns3.digitalocean.com ns1.digitalocean.com to the existing GoDaddy account.
My website is a MERN application. The client is running on port 3000 and the server is running on port 5000.
I deployed the application and its PM2 status is showing online, but cannot reach the website at the URL
I don’t know, what is the problem? Is it I commit a mistake while setting the app at my droplet?
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!
Accepted Answer
How are you trying to reach the application via your browser? Do you use the port like so http://domain.com:3000 or are you using only http://domain.com. If you are using the latter, make sure you have Nginx to proxy your request from port 80 and 443 to whatever you need them, in this case, 3000.
One other thing, make sure you have your port 3000 opened for incoming connections. This can be done either via ufw if you are using it or the standard IPtables rules.
Hi,
It looks working now - http://128.199.27.104 . Can you share what was a cause of this issue, pls ?
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.