Read the statement by Michael Teeuw here.
After update to Mirror to 2.1.3 - no working Whitlist
-
Thanks d3r!
-
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. -
@roramirez - and how can i now access to my mirror from my homenetwork ?
What do i have to do ???
Sandy
-
@d3r said in After update to Mirror to 2.1.3 - no working Whitlist:
address:“0.0.0.0”,
Thanks d3r, this was indeed the solution.
-
@Sandy2503 said in After update to Mirror to 2.1.3 - no working Whitlist:
What do i have to do ???
Set the IP address of your MagicMirror there.
-
This post is deleted! -
@randomnoise said in After update to Mirror to 2.1.3 - no working Whitlist:
@d3r said in After update to Mirror to 2.1.3 - no working Whitlist:
address:“0.0.0.0”,
Thanks d3r, this was indeed the solution.
And how is the syntax?
Something like this?var config = { electronOptions: { }, ipWhitelist: [ "127.0.0.1", "0.0.0.0", "::ffff:127.0.0.1", "::1", "::ffff:192.168.188.42", "192.168.188.1/24", "::ffff:192.168.188.50" ],
that does not work for me, before the update my MM was working really fine.
Also MMM-iFrameReload is not working anymore :( -
@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