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.

    Need Help with MMM-Remote-Control

    Scheduled Pinned Locked Moved Solved Troubleshooting
    6 Posts 3 Posters 1.2k Views 3 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.
    • C Offline
      ccrichtx
      last edited by

      I get the following error when trying to access http://192.168.1.38:8080/remote.html from my laptop or cell phone that are on the same network. Magic Mirror starts with no errors. I have tried with no success to fix the problem and just don’t no enough find the problem. I would appreciate some help.

      Error in Chrome browser:
      “This device is not allowed to access your mirror.
      Please check your config.js or config.js.sample to change this.”

      Config.js
      let config = {
      address: “0.0.0.0”, // Address to listen on, can be:
      // - “localhost”, “127.0.0.1”, “::1” to listen on loopback interface
      // - another specific IPv4/6 to listen on a specific interface
      // - “0.0.0.0”, “::” to listen on any interface
      // Default, when address config is left out or empty, is “localhost”
      port: 8080,
      basePath: “/”, // The URL path where MagicMirror is hosted. If you are using a Reverse proxy
      // you must set the sub path here. basePath must end with a /
      ipWhitelist: [“127.0.0.1”, “::ffff:127.0.0.1”, “::1”, “::ffff:192.168.1.20”, “::ffff:192.168.1.26”],
      .
      .
      .
      {
      module: ‘MMM-Remote-Control’,
      // uncomment the following line to show the URL of the remote control on the mirror
      position: ‘bottom_left’,
      // you can hide this module afterwards from the remote control itself
      config: {
      customCommand: {}, // Optional, See “Using Custom Commands” below
      showModuleApiMenu: true, // Optional, Enable the Module Controls menu
      secureEndpoints: true, // Optional, See API/README.md
      // uncomment any of the lines below if you’re gonna use it
      // customMenu: “custom_menu.json”, // Optional, See “Custom Menu Items” below
      // apiKey: “b741bc26c4b044db9ff9b57b3666d2093”, // Optional, See API/README.md for details
      // classes: {} // Optional, See “Custom Classes” below
      }
      },

      karsten13K 1 Reply Last reply Reply Quote 0
      • karsten13K Offline
        karsten13 @ccrichtx
        last edited by

        @ccrichtx

        propably a problem with ipWhitelist, you could try with ipWhitelist: [], and if this work you should set correct values, more infos here.

        C 1 Reply Last reply Reply Quote 0
        • C Offline
          ccrichtx @karsten13
          last edited by

          @karsten13

          Karsten thanks for you input. removing ipWhitelist parameters worked and leaving it blank [],

          Log file nohup.out showed the following error:
          [30.01.2022 19:55.51.116] [LOG] Access denied to IP address: 192.168.1.20
          [30.01.2022 19:55.54.685] [LOG] Access denied to IP address: 192.168.1.20

          My network is running IPv6 and I tried CIDR /47, /55, /63 and the changes did not work. I will check my home router and see what i can configure to allow.

          I appreciate your expert advise and the time to look at my post.

          C 1 Reply Last reply Reply Quote 0
          • C Offline
            ccrichtx @ccrichtx
            last edited by

            @ccrichtx

            I also tried: “::fff:192.168.1.1/112” and “::ffff:192.168.1.1/120” and they did not work.

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

              @ccrichtx ip6 doesn’t use any of the ip4 numbers!

              completely different

              no reason to use ip6 in a home network

              I recommend not using any ipWhitelist unless u are worried your kids, friends or spouse might access mm when u don’t want them to.

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              C 1 Reply Last reply Reply Quote 0
              • C Offline
                ccrichtx @sdetweil
                last edited by

                @sdetweil

                Thanks and appreciate the advise! I will leave IPWhitelist blank. I appreciate your input.

                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 / 1
                • 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