Node-red installation

I installed node.js (v0.8.22 - thanks ukmoose) & node-red via Git. Everything went well, and when I run $ sudo node red.js I get the reply - Server now running at http://127.0.0.1:1880/ (see attached). BUT
...when I try & load http://127.0.0.1:1880/ my browser reports that it cannot connect to that address.

I use the IP address 192.168.1.72 to reach emoncms

Any ideas what the issue could be

Paul

ukmoose's picture

Re: Node-red installation

127.0.0.1   Is the local host network, so if you were using a web browser on your pi that should work.

If your trying to browse from a different computer have you tried the emoncms IP address and :1880. On the end?

ukmoose's picture

Re: Node-red installation

Looks like you'll also need to make some amendments to the php settings file,

have a look at the top answer here....

http://stackoverflow.com/questions/9831594/apache-and-node-js-on-the-sam...

Paul Reed's picture

Re: Node-red installation

127.0.0.1   Is the local host network, so if you were using a web browser on your pi that should work.If your trying to browse from a different computer have you tried the emoncms IP address and :1880. On the end?

Ah yes, I can access it OK via that IP address/port!  The reference to using 127.0.0.1:1880 threw me, but your explanation does make sense.
Everything else appears to continue to work OK with node-red running, file server, media server & emoncms.

Thanks again

Paul

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.