Use the following commands to check ephemeral ports on Windows:
- Enter
C:\>netsh int ipv4 show dynamicport tcp
The
output displays as (sample):
Protocol tcp Dynamic Port Range
---------------------------------
Start Port : 49152
Number of Ports : 16384
C:\>netsh int ipv4 show dynamicport udp
Protocol udp Dynamic Port Range
---------------------------------
Start Port : 49152
Number of Ports : 16384
By default, the
Listener uses port 32775. Therefore, use any ephemeral start port
range above 32776 for the Listener to work correctly.
- If the Windows port range is incorrect, use the following commands to set the port range:
C:\>netsh int ipv4 set dynamicport tcp start=49152 num=16384
C:\>netsh int ipv4 set dynamicport udp start=49152 num=16384