Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

listen on an unused port #18

Merged
merged 1 commit into from Nov 2, 2012

Conversation

Projects
None yet
2 participants
@timoxley
Copy link
Contributor

commented Apr 29, 2012

use portfinder to listen on an unused port if default port 8080 is in use and no particular port was specified on the commandline.

@timoxley

This comment has been minimized.

Copy link
Contributor Author

commented May 7, 2012

Bump.

@jfhbrook

This comment has been minimized.

Copy link
Contributor

commented Jul 20, 2012

I know this was made months ago, but I've been thinking that this would be a pretty sweet feature. Does it disable if you explicitly set the port with --port ?

use portfinder to listen on an unused port if default port 8080 is in…
… use and no particular port was specified on the commandline.
@timoxley

This comment has been minimized.

Copy link
Contributor Author

commented Jul 21, 2012

Yep, if you specify a port explicitly, and that port is in use, then it will fail with standard EADDRINUSE err.

@timoxley

This comment has been minimized.

Copy link
Contributor Author

commented Jul 30, 2012

bump. I am getting sick of typing -p NNNN

jfhbrook added a commit that referenced this pull request Nov 2, 2012

Merge pull request #18 from timoxley/master
[api ux] If default port fails, try a different and open port

@jfhbrook jfhbrook merged commit b9def93 into http-party:master Nov 2, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.