Madhan Sundaram
Sep 10, 2017 · 1 min read

First off check if nginx is running.

$ ps aux | grep nginx

You should see something like this.

root       775  0.0  0.2  15732  2188 ?        Ss   Aug25   0:00 nginx: master process /usr/sbin/nginx -g daemon on; master_process on;www-data   776  0.0  0.3  15896  3196 ?        S    Aug25   1:38 nginx: worker processwww-data   777  0.0  0.3  15896  3200 ?        S    Aug25   0:13 nginx: worker processwww-data   778  0.0  0.3  15896  3200 ?        S    Aug25   1:49 nginx: worker processwww-data   779  0.0  0.3  15896  3200 ?        S    Aug25   1:50 nginx: worker process

if it is not running you may want to start it

$ sudo service nginx start

Also look for errors

$ less /var/log/nginx/error.log

if your port 80 is taken then it will show up here.

you can also see which process is using port 80

$ netstat -tulpn | grep :80tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      -

You can find more info here

Once you have nginx running you can open browser in RPI and type in

http://localhost:80

It should show the default nginx page. or if it is showing node-red page then node-red is using port 80.

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch

Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore

Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store