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.

    Cannot access to MagicMirror despite IpWhiteList

    Scheduled Pinned Locked Moved Troubleshooting
    10 Posts 2 Posters 7.1k Views 2 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.
    • Mykle1M Offline
      Mykle1 Project Sponsor Module Developer @MrNonoss
      last edited by

      @MrNonoss said in Cannot access to MagicMirror despite IpWhiteList:

      var config = {
      port: 8080,
      ipWhitelist: [],

      Try this:

      var config = {
              port: 8080,
              address: "0.0.0.0",
              ipWhitelist: [],
      

      Create a working config
      How to add modules

      1 Reply Last reply Reply Quote 0
      • M Offline
        MrNonoss
        last edited by

        Thank you for your tip @Mykle1, but unfortunately, it changed nothing.

        But looking at my CLI after launching MM, the end seems strange.
        Is it normal to stop like this?

        GET_WUNDERGROUND
        
        Mykle1M 1 Reply Last reply Reply Quote 0
        • Mykle1M Offline
          Mykle1 Project Sponsor Module Developer @MrNonoss
          last edited by

          @MrNonoss said in Cannot access to MagicMirror despite IpWhiteList:

          Thank you for your tip @Mykle1, but unfortunately, it changed nothing.

          Ah, hmm. Are Home Assistant and MM accessing the same port?

          But looking at my CLI after launching MM, the end seems strange.
          Is it normal to stop like this?
          GET_WUNDERGROUND

          Yes, completely normal

          Create a working config
          How to add modules

          1 Reply Last reply Reply Quote 0
          • M Offline
            MrNonoss
            last edited by

            Thank you for your quick reply.

            Nope, Home Assistant is using port 80

            1 Reply Last reply Reply Quote 0
            • M Offline
              MrNonoss
              last edited by

              Hi all,

              I come back with a hint…
              There are two web server on my computer, but I didn’t installed any “Apache” or so, so I didn’t configured anything
              One is with Home Assistant (coded in Python) and the other one is the MagicMiror.

              Could it be a sort of conflict between these two?

              Mykle1M 1 Reply Last reply Reply Quote 0
              • Mykle1M Offline
                Mykle1 Project Sponsor Module Developer @MrNonoss
                last edited by

                @MrNonoss

                If you remove or disable Home Assistant can you then connect to MagicMirror?

                Create a working config
                How to add modules

                1 Reply Last reply Reply Quote 0
                • M Offline
                  MrNonoss
                  last edited by

                  There’s no other option than deleting the installation folder.
                  I tried, but, with no succes.

                  I’m bored. Il will try to reinstall the whole things, starting by MM, testing --> If Ok --> Then Install Home Assistant and test again, it will give tips (I hope)

                  Thank you again Mykle

                  Mykle1M 1 Reply Last reply Reply Quote 0
                  • Mykle1M Offline
                    Mykle1 Project Sponsor Module Developer @MrNonoss
                    last edited by

                    @MrNonoss

                    You’re welcome, mate.

                    I agree. Install MM first and get your connection established. Let me know how you make out.

                    Create a working config
                    How to add modules

                    1 Reply Last reply Reply Quote 1
                    • M Offline
                      MrNonoss
                      last edited by

                      Hi everyone,

                      Problem solved with a new fresh install. Unfortunately, the issue came from me.
                      From my config.js to be more accurate.

                      My exact config.js was:

                      var config = {
                      	port: 8080,
                      	adress: "0.0.0.0",
                      	ipWhitelist: ["127.0.0.1", "192.168.1.1/24", "192.168.2.1/24", "192.168.2.100"], // 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"],
                      

                      My new and working one is the one Mykle1 gave me:

                      var config = {
                              port: 8080,
                              address: "0.0.0.0",
                              ipWhitelist: [],
                      

                      I assume it’s a coma mistake.
                      Nothing to do with multi web server.

                      Thank you again for your help.
                      Best regards

                      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