By alexwbi95
I’m in the process of setting up a node.js app and just got it working on my local machine, but it’s not loading on friends or family’s laptops or my phone.
I followed the instructions in https://www.digitalocean.com/community/tutorials/how-to-set-up-a-node-js-application-for-production-on-ubuntu-18-04.
I have a few suspicions about what might be causing the problem, but I’m very new to this and wanted to see if you all had any suggestions. In descending order of suspiciousness:
Redirect - Make all requests redirect to secure HTTPS accessnode -r esm server.js (with ES6 code, arrow functions and the like). I’ve been testing with the newest versions of Chrome so this shouldn’t be a problem, but I’m not sure, esp. if I’m not using Babel properlyThis 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!
Hi there @alexwbi95,
As the site is loading as expected at your end, it sounds like that it might be the DNS propagation in case that you’ve just recently changed your DNS records. Or it could also be your firewall block the connections from any other IP addresses but yours.
What is the exact error that you see when the site fails to load?
Regards, Bobby
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.