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.63k stars 528 forks source link

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

Closed TFTomSun closed 5 years ago

TFTomSun commented 5 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 5 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 5 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.