I am having an issue with a port needed by an application sometimes being taken by another application, I have added the following to the registry assuming this will exclude the port from the dynamically assign ports:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters ReservedPorts = xxxxx-xxxxx
Is it possible to check a range of dynamic ports that may be excluded and it there another way to reserve this port by OS that only the specific application can use.
That registry setting allows you to prevent a port from being used as an ephemeral port. It doesn't prevent an application from binding to that port explicitly (as long as no other process already has it bound).