MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    MMM-Remote-Control actually

    Scheduled Pinned Locked Moved Solved Troubleshooting
    7 Posts 3 Posters 1.1k Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S Offline
      sdetweil @kusselin
      last edited by

      @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

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      kusselinK 1 Reply Last reply Reply Quote 0
      • kusselinK Offline
        kusselin @sdetweil
        last edited by

        @sdetweil but iam in my own network at home…so i can get this 127.0.0.1

        Or is this wrong?

        S 1 Reply Last reply Reply Quote 0
        • kusselinK Offline
          kusselin
          last edited by

          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

          1 Reply Last reply Reply Quote 0
          • S Offline
            sdetweil @kusselin
            last edited by

            @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

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • BKeyportB Offline
              BKeyport Module Developer @kusselin
              last edited by

              @kusselin FYI, Jopyth is the original author.

              The "E" in "Javascript" stands for "Easy"

              kusselinK 1 Reply Last reply Reply Quote 0
              • kusselinK Offline
                kusselin @BKeyport
                last edited by

                @BKeyport thanks…

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                • First post
                  Last post
                Enjoying MagicMirror? Please consider a donation!
                MagicMirror created by Michael Teeuw.
                Forum managed by Sam, technical setup by Karsten.
                This forum is using NodeBB as its core | Contributors
                Contact | Privacy Policy