Hello, I’m at my wits end so here we go.
I created a working MERN stack app on DO a couple months ago (APP1), it works fantastically. I decided to use that app as a code base for another MERN app (APP2). Nearly nothing has changed from APP1 to APP2. The only changes have been to strings for the sake of renaming. APP2 works wonderfully in development environments, but won’t even present me with a “Cannot GET” message when I deploy it to a droplet. The droplet is reachable via ping, so I know it’s active. I get no errors during deployment. I don’t have the client setup to use a proxy. I do not have any dependency differences between APP1 and APP2. The only thing I have to go on is the error message in my browsers: “This site can’t be reached. xxx.xxx.xxx.xxx Refused to connect”.
I’m happy to provide any additional information or run suggested tests. Thank you for your time.
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!
Enter your email to get $200 in credit for your first 60 days with DigitalOcean.
Turns out it was a user permissions issue. Just had to run pm2 as “sudo pm2 start server.js”
Thanks to all who were pondering.