You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
since getPort reserves a port and releases it to find an unused port number - trying to use that port number immediately afterwards may not work as *nix machines, which have a re-use timeout for the port to be available again.
This issue is for adding some documentation describing this behavior (if appropriate).
nevermind. I had a bug in my script - was starting the same server twice, instead of switching over and starting another item (was missing a git submodule argument).
The above doesn't seem to be a real issue since node always sets SO_REUSEADDR
since getPort reserves a port and releases it to find an unused port number - trying to use that port number immediately afterwards may not work as *nix machines, which have a re-use timeout for the port to be available again.
This issue is for adding some documentation describing this behavior (if appropriate).
Related post:
https://unix.stackexchange.com/questions/17218/how-long-is-a-tcp-local-socket-address-that-has-been-bound-unavailable-after-clo
The text was updated successfully, but these errors were encountered: