Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Ephemeral ports support #88

Open
myfreeweb opened this Issue · 4 comments

2 participants

@myfreeweb

Y U NO SUPPORT THEM?

When I call master.listen(0), the master.port is still 0 and I don't know which port it really is :(

@tj
tj commented

master.port is just whatever you pass in so that cluster can access it when binding internally but you could still use master.server.address()

@tj
tj commented

well or if you pass your server in just server.address()

@myfreeweb

it doesn't work if you pass a string with module name to cluster()
else, TypeError: Bad file descriptor argument

@tj tj closed this in cbcb0d8
@tj tj reopened this
@tj
tj commented

scratch that, still messed up

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.