Http not working?
EDIT: This is no longer relevant as I am moving to vscode
I'm trying to make a simple multiplayer game using node js. I configured the server but it keeps giving me the error message: Make sure your repl has a port open and is ready to receive HTTP traffic.
Whenever I create a brand new repl and paste the same exact code in, the http will work for about 1 hour before giving me the same error msg again.
Thanks for the help
One reason this might be happening is because you are listening on 2 different ports: 8080 and 3000.
You also already have an express server running with your port 3000, so there is no reason to have an http server setup
Hello, most likely there has been an error that has occurred, either losing memory or an error inside the code. Anyways, the code doesn't load for me... I'll look at it and tell you about any errors.