Read the statement by Michael Teeuw here.
Need Help with MMM-Remote-Control
-
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
}
}, -
propably a problem with ipWhitelist, you could try with
ipWhitelist: [],and if this work you should set correct values, more infos here. -
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.20My 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.
-
I also tried: “::fff:192.168.1.1/112” and “::ffff:192.168.1.1/120” and they did not work.
-
@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.
-
Thanks and appreciate the advise! I will leave IPWhitelist blank. I appreciate your input.
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