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
}
},