Skip to content
This repository has been archived by the owner on Dec 19, 2018. It is now read-only.

Stop adding "http://localhost:5000" to empty IServerAddressesFeatures #917

Closed
halter73 opened this issue Jan 19, 2017 · 3 comments
Closed

Comments

@halter73
Copy link
Member

Servers such as Kestrel and HttpSysServer should define their own default listening endpoints (which will likely still listen on port 5000) so that the servers don't have to assume that a single address of "http://localhost:5000" indicates that no listening endpoint has been configured.

Here is the relevant line of code

@halter73
Copy link
Member Author

aspnet/KestrelHttpServer#1312 is Kestrel's reaction to this proposed change. The Kestrel PR can be merged first, since adding "http://localhost:5000" to IServerAddressesFeature only results in a warning.

@shirhatti
Copy link

@Tratcher Do we have an issue to react to this in HttpSysServer as well?

@Tratcher
Copy link
Member

aspnet/HttpSysServer#297

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

No branches or pull requests

5 participants