Read the statement by Michael Teeuw here.
After update to Mirror to 2.1.3 - no working Whitlist
-
@fox this doesn’t go within the whitelist section it has to go after the comma at the end of your whitelist section.
It is its own config parameter.
address:“0.0.0.0”,
-
@randomnoise thank you for clarifying.
@roramirez said in After update to Mirror to 2.1.3 - no working Whitlist:
That happens because the release 2.1.3 was introduced a new change to make more secure the MagicMirror, to prevent open all interfaces to world. So, now from 2.1.3 the default values for
address
is localhost instead of 0.0.0.0… so …be careful to set this value.i tried your fix: https://github.com/MichMich/MagicMirror/issues/1036#issuecomment-333243474
now MM crashed. With “pm2 logs mm” only weird errors appear :(
Was that thing with the developer checkout really intended to remain a stable MM? -
I change my config.js in:
/*************** AUTO GENERATED BY REMOTE CONTROL MODULE ***************/ var config = { port: 8081, address:"0.0.0.0", electronOptions: { }, ipWhitelist: [ "127.0.0.1", "::ffff:127.0.0.1", "::1", "192.168.178.20/24" ], language: "de",
and now it works again.
I have now access to MMM-Remote-Control from my HomePC again …
Sandy2503
-
@Sandy2503 ok nice to know. My problem, that - as i wrote - that with the “developer checkout” from github my MagicMirror is now broken :(
-
Adding
address: “0.0.0.0”,
to the config.js also did the trick for me.
Thanks!
-
As soon i put “0.0.0.0” to my config (see bellow with empty adress"") i get a black screen on start MM
var config = {
port: 8080,
address:“”,
language: “de”,
timeFormat: 24,
units: “metric”,Any ideas?
-
hi!
maybe wrong config.js ??
here is my working code:
var config =
{
address: “0.0.0.0”,
electronOptions: {}, ipWhitelist: [ "10.0.0.1/24", "::ffff:10.0.0.1/120", "127.0.0.1", "::ffff:127.0.0.1", "::1" ],
and so on…
greets
shotput2017 -
is this an acceptable configuration ?
address:"0.0.0.0",
or is it better specifying the actual server ip here ?
-
I put my config like this:
{ port: 1103, address: '0.0.0.0', electronOptions: { }, ipWhitelist: [ "127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.113.60", "::ffff:192.168.113.22", "::ffff:192.168.113.97", "::ffff:192.168.113.29", "::ffff:192.168.113.103", "::ffff:192.168.113.66" ],
The Remote-Control says “This device is not allowed to acces your mirror”. The IP-Adresses are correct.
-
i have the same problem
i already set “adress” to :“0.0.0.0” and edited the ipwhitelist to
ipWhitelist: [“::fff:0.0.0.0/1”, “::fff:0.8.0.0/1”, “::fff:128.0.0.0/2”, “::fff:192.0.0.0/3”, “::fff:224.0.0.0/4”, “127.0.0.1”, “::ffff:127.0.0.1”, “::1”]
but still i get no access.
Btw. its a raspberry pi zero with serveronly