If you have your ssh server installed, open file explorer, (make sure you are admin), in the path area put, %programdata%\ssh\ , here you will see sshd_config (if I remember right). You can open it in notepad, or in vscode, look for port, change it to the port you want, then save, either reboot...