Chat server is listening to the port, below snippet is from console log.
Your code is running at http://ift.tt/1MAOdAB.
Important: use process.env.PORT as the port and process.env.IP as the host in your scripts!
debugger listening on port 15454
info - socket.io started
Chat server listening at 0.0.0.0:4000
When trying to connect through browser: eg: "localhost:4000", connection is refused(Error code: ERR_CONNECTION_REFUSED)
Can some one help how to fix this issue?.
Note: I have tried listening on "127.0.0.1" and given original IP address in the network.
Aucun commentaire:
Enregistrer un commentaire