Every time I run my nodejs app, I get a warning message in green that reads:
“You may be using the wrong PORT & IP for your server application.Try passing $PORT and $IP to properly launch your application. You can find more information in our docs”
I am running the via the terminal by running
npm start as configured in my package.json.
C9 help state https://docs.c9.io/docs/running-and-debugging-code states that use the run button, but when I do that, I get the following message in the debugger console:
Your code is running at https://voting-app-shawco.c9users.io. Important: use process.env.PORT as the port and process.env.IP as the host in your scripts! Debugger listening on port 15454
However, when I run
echo $PORT on my terminal, it returns 8080 and
echo $IP returns 0.0.0.0.
How do I get this HELP message to go away?