nodejs-stream icon indicating copy to clipboard operation
nodejs-stream copied to clipboard

Having Trouble Running on Cloud9

Open michaelsboost opened this issue 9 years ago • 1 comments

I cloned the repo with git clone https://github.com/chovy/nodejs-stream.git ran npm install I renamed config.sample.js to config.js and changed...

// config.port = 8080;
// config.address = '127.0.0.7';

to

config.port = process.env.PORT;
config.address = process.env.IP;

I then ran node stream.js and I get....

mikethedj4:~/workspace/nodejs-stream (master) $ node stream.js 
Server running at http://0.0.0.0:8080/

Which is good until I go to test it in the browser...

screenshot 2016-08-12 at 11 15 27 am

Am I doing something wrong?

michaelsboost avatar Aug 12 '16 16:08 michaelsboost

I'm not familiar with cloud9 and how they allow internal access. You might try 127.0.0.1:8080 or maybe port 80?

ralyodio avatar Aug 12 '16 17:08 ralyodio