When running a number of parallel migration jobs on a server, the following exceptions are seen in all of the jobs:
System.Exception: Metalogix logged item 'Exception: Unable to connect to the remote server'
Inner Exception Error: Only one usage of each socket address (protocol/network address/port) is normally permitted 127.0.0.1:443
As a migration happens, Content Matrix opens and closes connections to source/destination as needed. Ideally, a closed connection waits for 240 seconds before finally closing. However, it's possible that due to a number of TCP/IP operations, the default number of ports (4000) can become occupied. As a result, any new requests will start failing.
Increase the dynamic port range by changing the HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Tcpip\Parameters\MaxUserPort registry key. Its maximum possible value is 65534.
Additionally, the wait time on closed connections may be reduced to ensure the ports are being made available much before the default wait time of 240 seconds. This can be set in the HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Tcpip\Parameters\TCPTimedWaitDelay registry key.
© ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center