• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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 6.7k 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.
  • M Offline
    Mykle1 Project Sponsor Module Developer @MrNonoss
    last edited by Dec 17, 2017, 4:18 PM

    @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 Dec 17, 2017, 4:42 PM

      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 Dec 20, 2017, 8:39 PM

        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?

        M 1 Reply Last reply Dec 20, 2017, 8:51 PM Reply Quote 0
        • M Offline
          Mykle1 Project Sponsor Module Developer @MrNonoss
          last edited by Dec 20, 2017, 8:51 PM

          @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 Dec 20, 2017, 10:25 PM

            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

            M 1 Reply Last reply Dec 21, 2017, 2:24 AM Reply Quote 0
            • M Offline
              Mykle1 Project Sponsor Module Developer @MrNonoss
              last edited by Dec 21, 2017, 2:24 AM

              @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 Dec 23, 2017, 11:46 AM

                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
                1 / 1
                • First post
                  8/10
                  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