What is a good unused Windows outgoing port for a client?
Charlie <[email protected]> Mon, 8 Jan 2024 00:26:40 -0700
| Newsgroups | alt.comp.os.windows-10,alt.comp.networking.connectivity,alt.comp.microsoft.windows |
|---|---|
| Organization | Neodome |
| Message-ID | <[email protected]> |
I need to set up an outgoing port for a client app. But I don't know if it uses tcp or udp or even ipv4 or ipv6. Googling, I found these four commands which gave these results shown below. https://learn.microsoft.com/en-us/troubleshoot/windows-server/networking/default-dynamic-port-range-tcpip-chang From those results, how would you advise I set the arbitrary outgoing port? netsh int ipv4 show dynamicport tcp Protocol tcp Dynamic Port Range --------------------------------- Start Port : 1024 Number of Ports : 64511 netsh int ipv4 show dynamicport udp Protocol udp Dynamic Port Range --------------------------------- Start Port : 49152 Number of Ports : 16384 netsh int ipv6 show dynamicport tcp Protocol tcp Dynamic Port Range --------------------------------- Start Port : 1024 Number of Ports : 64511 netsh int ipv6 show dynamicport udp Protocol udp Dynamic Port Range --------------------------------- Start Port : 49152 Number of Ports : 16384