Read the statement by Michael Teeuw here.
Changing ipwhitelist prevents Mirror from loading correctly
-
I am having the same issue as op and the last post doesnt help. Whenever I change the white list to anything other then default i just get a blank screen with MM
-
I’m not running the dev.
I also tried what you suggested Snille with no change.
-
Alright… Well… It makes no sense (not that it has thus far anyway) but I was playing with different configurations of ipwhitelist today, and all of the sudden
var config = { port: 8080, ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.0/28", "::ffff:192.168.2.0/28", "::ffff:192.168.3.0/28", "192.168.2.219"],
worked. The computer I’m working from is the last IP. Literally changed nothing else.
As far as I can figure just adding mine the the end of the default, for some reason works. Changing anything else (tested by changing it a few more times before coming back to this) broke it again. So this is literally the only way I can get it to work. Which… makes absolutely no sense.
I’m not going to question it anymore at this point. Just enjoy the fact that its working.
Maybe this will do something for you too @pingywon Just replace the last IP with your own.
-
I have come to the same conclusion on my own today. added the single ip of my work station and was able to get access. This works for now, but it is not a long term solution. I installed MMM-admin-panel and want to able to access the mirror from pretty much any ip inside my network.
Im going to do some more testing on monday…but im afraid I might have to add every darn IP in my internal DHCP scope just to not have to worry about it.
I agree it makes NO SENSE! :)
In the meantime let me know if you come up with any other developments.
Thank you
-
@Snille When I try this, the log stopped at this point:
0|mm | Connecting socket for: MMM-Fuel
0|mm | Starting module helper: MMM-Fuel
0|mm | Sockets connected & modules started …
0|mm | Launching application.
0|mm | Access denied to IP address: 0.0.0.0/0 -
@rcollie yep this works for me too, wierd!
-
How looks your config.js??
-
Mine looks like this:
var config = {
port: 8080,
ipWhitelist: [“127.0.0.1”, “::ffff:127.0.0.1”, “::1”, “::ffff:192.168.1.0/28”, “::ffff:192.168.2.0/28”, “::ffff:192.168.3.0/28”, “192.168.2.219”, “192.168.2.3”, “192.168.2.72”, “192.168.2.78”],language: “en”,
timeFormat: 12,
units: “imperial”,modules: [
-
ok. try to split it into 2 entries…
pWhitelist: [“127.0.0.1”, “::ffff:127.0.0.1”, “::1”, “::ffff:192.168.1.0/28”, “::ffff:192.168.2.0/28”],
…
you are sure that port 8080 is not used by annother application or blocked by your firewall??
First, try the first entry only and then add the second-one
( I used /24 instead /28, works here…)
remove the " ," after the font?
-
var config = {
port: 8080,
ipWhitelist: [“127.0.0.1”, “::ffff:127.0.0.1”, “::1”, “::ffff:192.168.1.0/28”, “::ffff:192.168.2.0/28”, “::ffff:192.168.3.0/28”, “10.0.0.16”],language: "de", modules: [ {.....