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

    Can not connect to Retropie Manager (Connection refused)

    Scheduled Pinned Locked Moved Help and Support
    manageropenport
    12 Posts 3 Posters 5.6k 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.
    • B
      Bender2k
      last edited by Bender2k

      Hi,

      i installed the original Raspbian Image and added Retropie later by hand. Works fine.
      Today i installed the manager using the retropie script and enabled autostart, but i can not connect to http://ip:8000/. Chrome says: connection refused.

      I can connect to the raspberry using SHH, but due to i am a noob, i do not know what to do, to open the port 8000.

      Thanks for help !!!

      meleuM 1 Reply Last reply Reply Quote 0
      • meleuM
        meleu @Bender2k
        last edited by

        @Bender2k please, post here the output of this command:

        /opt/retropie/supplementary/retropie-manager/rpmanager.sh --isrunning
        
        • Useful topics
        • joystick-selection tool
        • rpie-art tool
        • achievements I made
        1 Reply Last reply Reply Quote 0
        • B
          Bender2k
          last edited by

          Ahhhh,

          it is not running! But when i config the manager using the RetroPie Setup Script it says, that autostart on boot is enabled.
          When i start it by hand, i can access via browser but after a reboot it is again not running automatically.

          Where is the problem?

          meleuM 1 Reply Last reply Reply Quote 0
          • meleuM
            meleu @Bender2k
            last edited by

            @Bender2k please, post here the output of this command:

            cat /etc/rc.local
            
            • Useful topics
            • joystick-selection tool
            • rpie-art tool
            • achievements I made
            1 Reply Last reply Reply Quote 0
            • B
              Bender2k
              last edited by

              pi@raspberrypi:~ $ cat /etc/rc.local

              #!/bin/sh -e
              #
              # rc.local
              #
              # This script is executed at the end of each multiuser runlevel.
              # Make sure that the script will "exit 0" on success or any other
              # value on error.
              #
              # In order to enable or disable this script just change the execution
              # bits.
              #
              # By default this script does nothing.
              hciconfig hci0 up
              hciconfig hci0 pscan
              "/opt/retropie/supplementary/retropie-manager/rpmanager.sh" --start --user pi 2>&1 > /dev/shm/rpmanager.log &
              exit 0
              pi@raspberrypi:~ $
              meleuM 2 Replies Last reply Reply Quote 0
              • meleuM
                meleu @Bender2k
                last edited by

                @Bender2k please, reboot your pi and then post here the output of this command:

                cat /dev/shm/rpmanager.log
                
                • Useful topics
                • joystick-selection tool
                • rpie-art tool
                • achievements I made
                1 Reply Last reply Reply Quote 0
                • B
                  Bender2k
                  last edited by

                  pi@raspberrypi:~ $ cat /dev/shm/rpmanager.log
                  cat: /dev/shm/rpmanager.log: Datei oder Verzeichnis nicht gefunden

                  (File or Folder not found)

                  1 Reply Last reply Reply Quote 0
                  • meleuM
                    meleu @Bender2k
                    last edited by

                    @Bender2k said in Can not connect to Retropie Manager (Connection refused):

                    pi@raspberrypi:~ $ cat /etc/rc.local

                    #!/bin/sh -e
                    #
                    # rc.local
                    #
                    # ...
                    #
                    hciconfig hci0 up
                    hciconfig hci0 pscan
                    "/opt/retropie/supplementary/retropie-manager/rpmanager.sh" --start --user pi 2>&1 > /dev/shm/rpmanager.log &
                    exit 0
                    

                    Maybe those hciconfig commands aren't finalizing and then the rpmanager line isn't being executed. Usually we put a & char in the end each line in the /etc/rc.local in order to make the command execute in background mode and the script goes to the next command.

                    I'm not sure what those hciconfig commands do (something related to bluetooth?), but I would try to add a & at the end of each line and see if it works.

                    • Useful topics
                    • joystick-selection tool
                    • rpie-art tool
                    • achievements I made
                    1 Reply Last reply Reply Quote 0
                    • B
                      Bender2k
                      last edited by

                      Yes, i installed a bluetooth plugin so i can use WiiMotes.
                      I will try to add the "&" to both forst lines.

                      1 Reply Last reply Reply Quote 0
                      • B
                        Bender2k
                        last edited by

                        I added the "&" to both lines and i tried to put the 3rd line as first, before the hciconfig lines.
                        Both is not working. The manager is not starting automatically :(

                        BuZzB 1 Reply Last reply Reply Quote 0
                        • BuZzB
                          BuZz administrators @Bender2k
                          last edited by

                          @Bender2k comment out the hciconfig lines completely (put a # in front). Also make sure /etc/rc.local has the correct permissions

                          ls -l /etc/rc.local
                          
                          sudo chmod a+x /etc/rc.local
                          

                          will fix it if it's missing executable permissions.

                          To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                          1 Reply Last reply Reply Quote 0
                          • B
                            Bender2k
                            last edited by Bender2k

                            I uncommented it and set the rights as you advised:

                            pi@raspberrypi:~ $ cat /etc/rc.local

                            #!/bin/sh -e
                            #
                            # rc.local
                            #
                            # This script is executed at the end of each multiuser runlevel.
                            # Make sure that the script will "exit 0" on success or any other
                            # value on error.
                            #
                            # In order to enable or disable this script just change the execution
                            # bits.
                            #
                            # By default this script does nothing.
                            #hciconfig hci0 up
                            #hciconfig hci0 pscan
                            "/opt/retropie/supplementary/retropie-manager/rpmanager.sh" --start --user pi 2>&1 > /dev/shm/rpmanager.log &
                            exit 0
                            
                            
                            
                            
                            
                            Result:
                            pi@raspberrypi:~ $ /opt/retropie/supplementary/retropie-manager/rpmanager.sh --isrunning
                            RetroPie-Manager is not running
                            
                            
                            
                            
                            Sad.....
                            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.