aspnet / KestrelHttpServer

[Archived] A cross platform web server for ASP.NET Core. Project moved to https://github.com/aspnet/AspNetCore
Apache License 2.0
2.62k stars 526 forks source link

Kestrel listening port not released even after dotnet process is killed #3060

Closed TFTomSun closed 6 years ago

TFTomSun commented 6 years ago

My setup: I debug a client side test and start the asp.net core server application as a process from within the test. When I stop debugging, of course the dotnet process of the server application is still running. When I kill the application, the listen ports are still in use by the "System" process.

Any ideas how this can happen? How can I release the ports without a PC reboot?

netstat -abno states that the ports are in listening mode

Tratcher commented 6 years ago

This sounds a lot like https://github.com/aspnet/KestrelHttpServer/issues/2789, though inverted. Do you get different results if you try Libuv?

muratg commented 6 years ago

Hi. We're closing this issue as no response or updates have been provided in a timely manner and we have been unable to reproduce it. If you have more details and are encountering this issue please add a new reply and re-open the issue.