We have built a COM+ application using VB.NET, once we deployed the application into the live environment we run into a problem with available ephemeral ports. Basically our server starts using up ports and never seems to release them back for use by other processes, at some point in time if the COM+ application does not shut down and release all ports our server will run out of ports and refuse further rpc connections.
I was wondering if anybody has come across a similar problem and if so how they actually fixed it. My first attempt to solve this is to increase the number of available ports but I would like to figure out why these ports are remaining open.
Thanks in advance.