Hi,
As far as I know, service always has its own port. If we want to change the port number, we could modify the registry (such as RDP port number 3389, we could change it in the registry. HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TerminalServer \WinStations\RDP-Tcp).
For SSH service, based on my search, it refers to port 22. We also could change it in Registry. Please check the information in the link below.
https://www.georgiasoftworks.com/ssh-server-windows/faq/how-to-change-ssh-port-number
please Accept as answer if the reply is helpful.
Best Regards,
Carl
How to set up the network port number for Windows10 China Government Office
vivi dong
1
Reputation point
Windows Defender is disabled in this version of the system. How can I set the network connection port number?For example, if I want to use SSH service, where should I set it up?
1 answer
Sort by: Most helpful
-
Carl Fan 6,846 Reputation points
2020-08-26T09:57:08.76+00:00