listen on port 0 instead of incrementing port
Vap0r1ze opened this issue · comments
Justice Almanzar commented
listening on port 0 will allow the system to choose a free port for you, you'll just need to call wss.address()
after the listening
event fires in order to get the chosen port.