• 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.

Issue with White list IP(s) not working :(

Scheduled Pinned Locked Moved Troubleshooting
23 Posts 11 Posters 12.0k Views 12 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.
  • R Offline
    rcollie
    last edited by Sep 13, 2017, 5:39 PM

    Nice one.

    1 Reply Last reply Reply Quote 0
    • Y Offline
      yours.mukul
      last edited by Sep 22, 2017, 8:53 PM

      How to white list all IP(s), to make magicmirror public??

      1 Reply Last reply Reply Quote 0
      • D Offline
        daikaiju @Mykle1
        last edited by Jul 15, 2018, 1:19 AM

        Disabling IPv6 fixed the issue for me.

        1 Reply Last reply Reply Quote 1
        • K Offline
          knubbl
          last edited by Jul 19, 2018, 1:37 PM

          where did u disable it?

          B D 2 Replies Last reply Jul 20, 2018, 4:42 AM Reply Quote 0
          • B Offline
            bhepler Module Developer @knubbl
            last edited by bhepler Jul 20, 2018, 4:43 AM Jul 20, 2018, 4:42 AM

            @knubbl - It will be at your router. It depends on the brand, but this sort of thing is usually in the advanced menu.

            … or you could follow the instructions in the post here.

            1 Reply Last reply Reply Quote 0
            • D Offline
              daikaiju @knubbl
              last edited by Jul 22, 2018, 3:20 PM

              @knubbl https://www.leowkahman.com/2016/03/19/disable-ipv6-raspberry-raspbian/

              1 Reply Last reply Reply Quote 0
              • C Offline
                chef
                last edited by chef Jul 22, 2018, 4:23 PM Jul 22, 2018, 4:12 PM

                Are you giving your raspberry pi an ip address of “0.0.0.0”?

                Why?

                The address line should be the IP address of your pi.

                Having it listen on any interface hasn’t really worked well.

                Then the whitelist is an array of ip address. If you leave it empy (ex. []) then all the devices on your network will be able to access your mirror.

                This is what mine looks like:

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

                This especially makes a difference when using the “Restfull-ish” API. It is necessary to give the address line an ip address :)

                1 Reply Last reply Reply Quote 0
                • 1
                • 2
                • 3
                • 3 / 3
                • 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