Read the statement by Michael Teeuw here.
Issue with White list IP(s) not working :(
-
@roramirez said in Issue with White list IP(s) not working :(:
You can using now the develop branch or install express-ipfilter previous of the 0.3.1
Ahh, thank you! :^)
-
@roramirez does that mean that I only have to do an
npm install express-ipfilter
from the rooter with my console, if I have the actual magic mirror installed?
tnx
Peter
-
Nice one.
-
How to white list all IP(s), to make magicmirror public??
-
Disabling IPv6 fixed the issue for me.
-
where did u disable it?
-
@knubbl - It will be at your router. It depends on the brand, but this sort of thing is usually in the advanced menu.
… or you could follow the instructions in the post here.
-
-
Are you giving your raspberry pi an ip address of “0.0.0.0”?
Why?
The address line should be the IP address of your pi.
Having it listen on any interface hasn’t really worked well.
Then the whitelist is an array of ip address. If you leave it empy (ex. []) then all the devices on your network will be able to access your mirror.
This is what mine looks like:
var config = { address: "192.168.2.48", port: 8080, ipWhitelist: [],
This especially makes a difference when using the “Restfull-ish” API. It is necessary to give the address line an ip address :)