My droplet IP Address is 22.214.171.124 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!
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.
Click below to sign up and get $200 of credit to try our products over 60 days!
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.
Thanks for sharing the solution. It helped!!!
It looks working now - http://126.96.36.199 . Can you share what was a cause of this issue, pls ?