RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    How do I change my port?

    Scheduled Pinned Locked Moved Help and Support
    file transfer
    4 Posts 2 Posters 679 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      MyNameIsKeegan
      last edited by

      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.

      mituM 1 Reply Last reply Reply Quote 0
      • mituM
        mitu Global Moderator @MyNameIsKeegan
        last edited by

        @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.

        1 Reply Last reply Reply Quote 0
        • M
          MyNameIsKeegan
          last edited by

          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."

          mituM 1 Reply Last reply Reply Quote 0
          • mituM
            mitu Global Moderator @MyNameIsKeegan
            last edited by

            @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.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post

            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.