Read the statement by Michael Teeuw here.
MMM-Remote-Control actually
-
@kusselin said in MMM-Remote-Control actually:
address: “localhost”,
this means ONLY apps INSIDE the same system can connect
SO, you need to change it to allow systems from OUTSIDE the pi to access
address:"0.0.0.0", ipWhitelist:[],
this means any adapter can hear requests (instead of just the loopback adapter localhost)
and you are not filtering out client ip addresses -
@sdetweil but iam in my own network at home…so i can get this 127.0.0.1
Or is this wrong?
-
You are so great sdetweil :-)
so ist running:
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: [], // Set [] to allow all IP addresses // or add a specific IPv4 of 192.168.1.5 : // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"], // or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format : // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"],
thanks a lot again to you
-
@kusselin no… localhost means ONLY INSIDE the same machine… (127.0.0.1 is the ip address for localhost)
phone on wifi accessing MM on pi is a different machine
the default protection is a mirror hanging on the wall, no one would need to access that from outside the mirror…
oops remote -control does need
-
@kusselin FYI, Jopyth is the original author.
-
@BKeyport thanks…