Important: use ENV[PORT] as the port and ENV[IP] as the host in your scripts!


#1

I keep seeing this message:

Important: use ENV[PORT] as the port and ENV[IP] as the host in your scripts!

How do I resolve this? Thank you all in advance.


#2

Hey @Robert_Ng :slightly_smiling:,

What server are you using (i.e.: node/python for example) ?

This is what it looks like in node.js:
app.listen(process.env.PORT, process.env.IP);

From:

:book: :snail:


#3

Hello,

I have the same issue. I know this is an old question, but did you ever figure out the issue. Thanks in advance.