MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    SOLVED Need Help with MMM-Remote-Control

    Troubleshooting
    3
    6
    115
    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
      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
      }
      },

      karsten13 1 Reply Last reply Reply Quote 0
      • karsten13
        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
          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
            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
              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

              Create a working config
              How to add modules

              C 1 Reply Last reply Reply Quote 0
              • C
                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
                • 1 / 1
                • First post
                  Last post
                Enjoying MagicMirror? Please consider a donation!
                MagicMirror created by Michael Teeuw.
                Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                This forum is using NodeBB as its core | Contributors
                Contact | Privacy Policy