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

Discover first free port for suave #84

Open
forki opened this issue Jun 24, 2015 · 3 comments
Open

Discover first free port for suave #84

forki opened this issue Jun 24, 2015 · 3 comments

Comments

@forki
Copy link
Member

forki commented Jun 24, 2015

It seems sometimes the default port is occupied by another webserver.
We should discover the next free port and us that one.

/cc @jayp33 @haf

@haf
Copy link
Member

haf commented Jun 24, 2015

That would probably be a good Utility method in Suave, which also is called from a static factory method in HttpBinding https://github.com/SuaveIO/suave/blob/master/src/Suave/Types.fs#L443.

@jayp33
Copy link

jayp33 commented Jun 24, 2015

I can't reproduce the error. I assumed it had something to do with Tomcat, which was also running even though it didn't occupy the Suave port. On the second try it worked, having Tomcat running simultaneously.
Can't even reproduce the problem with a fresh clone of the repo.
Maybe I just pressed enter? ;-)

@forki
Copy link
Member Author

forki commented Jun 24, 2015

yep. but I saw similar things before.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants