Monday, 15 May 2017

Access node app on digital ocean -

I am unable to access my digital ocean node js app. I've already SSH'ed in, cloned my Node app from Git, npm installed, and successfully started the app on the droplet, yet I get error

This site can't be reached

enter image description here

Digital Ocean docs say you can access your publicly facing website simply by going to <your website's ip>:<port>:

enter image description here

I did this by going to 67.205.185.63:9000/ (my app is running on port 9000 as you can see):

root@nodejs-512mb-nyc1-01:~/demos# npm start

> live-demos@1.0.0 start /root/demos
> node app.js

Demos is listening on port 9000

How else should I be accessing my node app?



via Growler

No comments:

Post a Comment