My Node app not pointing to my IP Address

September 10, 2014 1.4k views

Alright I worked on troubleshooting this for a whole day, trying to get my Node app to be accesible via the browser but to no avail.

when I start my node via command line, it runs successfully on port 1100, but I cannot access either on my IP_address:port or domain: via the browser

this is my nginx config file


server { 
listen 80; 


location / { 
proxy_pass localhost:1100; 
proxy_http_version 1.1; 
proxy_set_header Upgrade $http_upgrade; 
proxy_set_header Connection 'upgrade'; 
proxy_set_header Host $host; 
proxy_cache_bypass $http_upgrade; 


I have restarted nginx and also rebooted my droplet. Still cannot access when I visit on browser.

The node app is in directory /var/www/


1 comment
2 Answers


Assuming is your actual domain, scanning it for open ports with nmap doesn't show port 80 being open. Is Nginx currently running? Have you set up any firewalling? If so, remember to open port 80.

On the droplet, what's the output of sudo netstat -plunt ?

Have another answer? Share your knowledge.