Skip to content
This repository has been archived by the owner on Nov 22, 2024. It is now read-only.

Two StumpsServers created simultaneously may use the same port #97

Open
aglover-cayan opened this issue Nov 13, 2018 · 0 comments
Open
Assignees
Labels
Milestone

Comments

@aglover-cayan
Copy link

aglover-cayan commented Nov 13, 2018

Creating two instances of StumpsServer in two parallel assemblies at nearly the same time appears to cause a race condition and sometimes cause both servers to grab the same port, resulting in the error System.Net.HttpListenerException : Failed to listen on prefix http://*:7429/' because it conflicts with an existing registration on the machine.

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

No branches or pull requests

2 participants