How do I change my port?
-
I have the file transfer thing (FTP?) so that I can transfer ROMs from my computer to my Raspberry Pi and I connect through port 22 on my software WinSCP but I have a web UI for one of my game servers which uses port 22 so I was wondering how to change the port of my Raspberry Pi since I don't want to change the port of the server.
-
@mynameiskeegan That's weird, 22 is a well known port and your game server should not use it just because of these situations. Are you sure the other software is using port 22 and not other port ?
You can easily change the SSH port by editing the/etc/ssh/sshd_config
file and changing the listening port from 22 to other value. -
I double checked and my web ui uses port 22 (i don't know why i can ask my friend who helped set it up) and I changed the port to 23 in the sshd_config and it still won't connect. WinSCP just says "Host RetroPie doesn't exist."
-
@mynameiskeegan said in How do I change my port?:
"Host RetroPie doesn't exist."
That's not related to the port settings and indicates a DNS issue. Try to either use
retropie.local
as hostname or the actual IP address of the Pi system in the connection dialog.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.