Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report for Bug 277 on
GitHub or Developer Community if you have new
information to add and do not yet see a matching new report.
If the latest results still closely match this report, you can use the
In special cases on GitHub you might also want the comments:
GitHub Markdown with public comments
On MS.NET, you can have multiple service endpoints under a <service> all listening on the same port. I believe you can even have endpoints on different services listening on the same port, but the former scenario was what I tested.
Mono throws an exception when it tries to set up what I presume to be the second endpoint, claiming the address is already in use.
I presume it's going to be quite a bit of work to set up port sharing (since it seems each channel is given its own TcpListener), so i'm goign to put this lower priority.
Is this using XSP, mod_mono or hosting your own service?
Could you provide us with a self-contained test case, so we can look at the exact code you want fixed?
Created attachment 120 [details]
the following code allows two service endpoints to share the same port. It works fine on windows/ms.net, using mono's compiled binaries. On mono itself, the initialization dies with "Address already in use" exception.