Error: listen EADDRINUSE: address already in use :::5000 help
This means the port 5000 is already in use. You can wait for the container to shutdown, or you can kill the port yourself.
Glitch doesn’t even use that port.
There are other reasons on why you might want to use ports that doesn’t expose to the outer world.
Don’t use port 5000 instead use process.env.PORT
1 Like