question

stevenc-5586 avatar image
0 Votes"
stevenc-5586 asked BruceZhang-MSFT commented

refresh or end inactive local client connections

having some local active connections that using IIS application pool's website that host local application using local ip: 192.168.0.xxx/default.aspx

since connections to server maybe limit to 3 users in this case, any forth upcoming opening connections towards local server may be denied ,

have tried using 'netstat' to terminate PID , but access denied

since closing the applications to allow ending the connections, but the server still shows active connections running (which occupied the 3 users limit bandwidth)

how to refresh server's client to server connections OR end the inactive connections






windows-serverwindows-server-iis-generaldotnet-aspnet-webforms
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

The TCP connection is closed at the page life cycle. Do you have an actual problem or error?

1 Vote 1 ·

Hi @stevenc-5586 ,

When the browser sends a request to IIS and gets a response, it will be judged as a connection. By default, IIS does not restrict user connections unless the browser sends multiple requests in a short period of time, which may be judged as a request attack. IIS will restrict user connections. You need to figure out why the browser's client-to-server connection can only be limited to 3 users. To terminate the connection, you can close the page from the browser side. You can also stop the site or application pool from the server side.

0 Votes 0 ·

1 Answer

LimitlessTechnology-2700 avatar image
0 Votes"
LimitlessTechnology-2700 answered

Hello @stevenc-5586

As far I know it can be killed via IISRESET command but it will end the active sessions as well.

I would suggest you to configure timeout settings as per below Microsoft article. so that it will end after time value.

https://docs.microsoft.com/en-us/iis/configuration/system.applicationhost/sites/sitedefaults/limits

If the reply was helpful, please don’t forget to upvote or accept as answer.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.