You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Possibly your server admin forbids opening new ports. Connect using SSH, run PORT=4999 node/bin/node index.js and check with netstat or telnet if the port is opened. Next, try connecting using curl http://127.0.0.1:4999 and check if there are any errors.
Activity
Lyian commentedon Feb 20, 2016
Any reason that your application has to run in such an high port? If not try smth. >2000
niutech commentedon Feb 24, 2016
Possibly your server admin forbids opening new ports. Connect using SSH, run
PORT=4999 node/bin/node index.jsand check withnetstatortelnetif the port is opened. Next, try connecting usingcurl http://127.0.0.1:4999and check if there are any errors.silviavrocha commentedon Jan 19, 2020
I tried this it says it could not connect to host
mundstein commentedon Feb 3, 2025
You have to also adjust the port in node.php.