MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    [MMM-Remote-Control] Can not access remote control module

    Scheduled Pinned Locked Moved Troubleshooting
    76 Posts 21 Posters 73.7k Views 19 Watching
    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.
    • A Offline
      AshDarko
      last edited by

      I have just commented out the custom menu for now, so ignore that terminal message about it

      {
      		module: 'MMM-Remote-Control',
      		/**position: 'bottom_left',**/
      		config: {
      			customCommand: {},  // Optional, See "Using Custom Commands" below
      			/**customMenu: "custom_menu.json", // Optional, See "Custom Menu Items" below**/
      			showModuleApiMenu: true, // Optional, Enable the Module Controls menu
      			/**apiKey: "",         // Optional, See API/README.md for details**/
      		}
      	},
      
      1 Reply Last reply Reply Quote 0
      • M Offline
        motdog @Mykle1
        last edited by

        @Mykle1 my only other question is when I was at a friend’s house I tried to pull up the remote to show them the mirror & nothing happened on their wifi or cellular. I’m guessing on the white list I would have to input my phone ip address?

        S R 2 Replies Last reply Reply Quote 0
        • S Offline
          sdetweil @motdog
          last edited by sdetweil

          @motdog lot more than that…

          by default your home router blocks ALL incoming requests (or should anyhow) so you would have to open a port and map incoming requests on that port to your mirror machine (and port) by using the routers admin function… some providers do not allow this
          (this is called port forwarding)

          second, the IP address of the router on the internet is assigned dynamically, and might change…
          some of us use a dns mapper to define a specific NAME to our router as it appears on the internet
          ( I use dyndns.org to map a known name to my router ip address, today my routers internet ip address is near 47.220.177.xxx)

          third, the ip address of your phone will be randomly assigned too… their router, maybe over phone link connection… so , here u might have to say 0.0.0.0 anyone…

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • R Offline
            retroflex Project Sponsor Module Developer @motdog
            last edited by

            @motdog If you open up a port for outside access of MM you’ll have to whitelist all IP’s since your phone changes IP. You will then expose it for everyone. This includes the config.js file, which might contain passwords to calendars etc. So be careful! Best option is to connect to your network using VPN. It is possible to setup a VPN server in some routers.

            S 1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil @retroflex
              last edited by

              @retroflex he will still have to whitelist everything, or use Listen: 0.0.0.0

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • M Offline
                motdog
                last edited by

                Thanks for all the feedback. I get the concerns and why its set up that way. No big deal at all

                1 Reply Last reply Reply Quote 0
                • A Offline
                  AshDarko
                  last edited by

                  So I still get access denied, but if i change

                  ipWhitelist to [] then my phone can now access the remote page.

                  Just dont understand when I have address the correct ip for my phone it says access denied to that same ip in the terminal

                  Changed:

                  ipWhitelist: [ "127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:10.100.10.1",],
                  

                  To:

                  ipWhitelist: []
                  
                  1 Reply Last reply Reply Quote 0
                  • M Offline
                    Mr.Gysy
                    last edited by

                    Hello,

                    I know the topic is old, but may someone can help me.

                    The module is shown on my screen but when I want to enter via Browser it always shows: This site cant be reached.

                    alt text

                    when erase the // from the config: The screen shows me an error, I should install a config data.

                    Can someone help me?

                    Thanks

                    S O 2 Replies Last reply Reply Quote 0
                    • S Offline
                      sdetweil @Mr.Gysy
                      last edited by

                      @Mr-Gysy position: “bottom_right” needs a comma after when the next line is NOT a comment

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      1 Reply Last reply Reply Quote 0
                      • O Offline
                        OldSunGuy @Mr.Gysy
                        last edited by OldSunGuy

                        @Mr-Gysy
                        I see you have:

                            adresss: “0.0.0.0”,  
                        

                        It should be:

                             address: “0.0.0.0”,  
                        

                        Just a user helping another user

                        1 Reply Last reply Reply Quote 0
                        • M Offline
                          Mr.Gysy
                          last edited by

                          Thanks for help. fixed that 2 parts. Now no error for config but site still cant be reached :/

                          1 Reply Last reply Reply Quote 0
                          • M Offline
                            Mr.Gysy
                            last edited by

                            no idea anymore or tips? :(

                            S 1 Reply Last reply Reply Quote -1
                            • S Offline
                              sdetweil @Mr.Gysy
                              last edited by

                              @Mr-Gysy sorry, unclear on error you are seeing

                              Sam

                              How to add modules

                              learning how to use browser developers window for css changes

                              1 Reply Last reply Reply Quote 0
                              • M Offline
                                Mr.Gysy
                                last edited by

                                changed something, now webpage shows: my connection has been rejected?

                                S 1 Reply Last reply Reply Quote 0
                                • S Offline
                                  sdetweil @Mr.Gysy
                                  last edited by

                                  @Mr-Gysy so, steps to debug

                                  from another system can u access the mirror itself
                                  http://ip:port
                                  if no, then either firewall, or mirror config prevents.
                                  address: or whitelist or both

                                  if address is localhost, then ONLY apps on the SAME PHYSICAL system can access
                                  if address is 0.0.0.0, then apps can access from any network connection
                                  if address is something else, some specific ip, then apps can only access server thru the hardware adapter that provdes that address. think if u had two network cards, and wanted to restrict access to only one of those cards…

                                  now, once you’ve got that
                                  we go to whitelist
                                  now you can constrain access to specific systems on that netwokr, or groups of systems by address range (or applied mask)

                                  so, to start I’d do address: “0.0.0.0” and whitelist :[],
                                  means any system from any network

                                  can u access the mirror app

                                  now can u access the remotecontrol app insde the mirror?

                                  Sam

                                  How to add modules

                                  learning how to use browser developers window for css changes

                                  1 Reply Last reply Reply Quote 0
                                  • M Offline
                                    Mr.Gysy
                                    last edited by

                                    adress is set on 0.0.0.0
                                    and whitelist []

                                    on pi itself same from browser : 192.168.178.40 rejected the connection

                                    1 Reply Last reply Reply Quote 0
                                    • S Offline
                                      sdetweil
                                      last edited by

                                      @Mr-Gysy said in [MMM-Remote-Control] Can not access remote control module:

                                      192.168.178.40

                                      need the port too

                                      http://192.168.178.40:8080 (thats the default port)

                                      Sam

                                      How to add modules

                                      learning how to use browser developers window for css changes

                                      1 Reply Last reply Reply Quote 0
                                      • M Offline
                                        Mr.Gysy
                                        last edited by

                                        alt text

                                        S 1 Reply Last reply Reply Quote 0
                                        • S Offline
                                          sdetweil @Mr.Gysy
                                          last edited by

                                          @Mr-Gysy remove after the port. Let’s make sure default works

                                          Sam

                                          How to add modules

                                          learning how to use browser developers window for css changes

                                          1 Reply Last reply Reply Quote 0
                                          • M Offline
                                            Mr.Gysy
                                            last edited by

                                            alt text

                                            same :/

                                            S 1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 3 / 4
                                            • First post
                                              Last post
                                            Enjoying MagicMirror? Please consider a donation!
                                            MagicMirror created by Michael Teeuw.
                                            Forum managed by Sam, technical setup by Karsten.
                                            This forum is using NodeBB as its core | Contributors
                                            Contact | Privacy Policy