I need to listen on port 3500 for a WebSocket server AND listen on env.PORT for a HTTP server.
Will this work?
Currently only a single port is available but if you happen to be using Express you should be able to use express-ws to handle web socket connections.
1 Like