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

Can't access from external browser. (RPI zero non-W)

Scheduled Pinned Locked Moved Troubleshooting
11 Posts 3 Posters 5.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.
  • I Offline
    ImTheBadWolf
    last edited by Oct 11, 2017, 7:58 PM

    I can’t access magic mirror running on my raspberry pi zero from my computer. In config I granted all IP’s by “ipWhitelist: []” but I dont think the problem is here because browser on my computer says " refused to connect". I don’t have installed apache2.

    M 1 Reply Last reply Oct 11, 2017, 9:18 PM Reply Quote 0
    • M Offline
      Mykle1 Project Sponsor Module Developer @ImTheBadWolf
      last edited by Mykle1 Oct 11, 2017, 9:19 PM Oct 11, 2017, 9:18 PM

      @ImTheBadWolf

      Try adding the address line as seen below, or “localhost”:

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

      That should do it.

      Create a working config
      How to add modules

      I 1 Reply Last reply Oct 12, 2017, 4:24 AM Reply Quote 0
      • I Offline
        ImTheBadWolf @Mykle1
        last edited by Oct 12, 2017, 4:24 AM

        @Mykle1 Thanks for your answer but that doesnt work either :(

        M 1 Reply Last reply Oct 12, 2017, 11:19 AM Reply Quote 0
        • B Offline
          broberg Project Sponsor
          last edited by Oct 12, 2017, 9:28 AM

          You are specifying the port as well in the address?

          like this :
          http://192.168.0.2:8080

          I 1 Reply Last reply Oct 12, 2017, 10:02 AM Reply Quote 0
          • I Offline
            ImTheBadWolf @broberg
            last edited by Oct 12, 2017, 10:02 AM

            @broberg Yes

            1 Reply Last reply Reply Quote 0
            • M Offline
              Mykle1 Project Sponsor Module Developer @ImTheBadWolf
              last edited by Oct 12, 2017, 11:19 AM

              @ImTheBadWolf said in Can’t access from external browser. (RPI zero non-W):

              Thanks for your answer but that doesnt work either :(

              Can you post the beginning portion of your config?

              var config = {
              	port: 8080,
                      address: "0.0.0.0",
              	ipWhitelist: [],
              
              	language: "en",
              	timeFormat: 12,
              	units: "imperial",
              
              	modules: [
              

              Create a working config
              How to add modules

              I 1 Reply Last reply Oct 12, 2017, 11:36 AM Reply Quote 0
              • I Offline
                ImTheBadWolf
                last edited by Oct 12, 2017, 11:33 AM

                This post is deleted!
                1 Reply Last reply Reply Quote 0
                • I Offline
                  ImTheBadWolf @Mykle1
                  last edited by Oct 12, 2017, 11:36 AM

                  @Mykle1
                  var config = {
                  address: “0.0.0.0”,
                  port: 8085,
                  //ipWhitelist: [“127.0.0.1”, “::ffff:127.0.0.1”, “::1”, “192.168.1.112”, “192.168.1.102”],
                  ipWhitelist: [],
                  language: “”,
                  timeFormat: 24,
                  units: “metric”

                  M 1 Reply Last reply Oct 12, 2017, 11:43 AM Reply Quote 0
                  • M Offline
                    Mykle1 Project Sponsor Module Developer @ImTheBadWolf
                    last edited by Mykle1 Oct 12, 2017, 11:51 AM Oct 12, 2017, 11:43 AM

                    @ImTheBadWolf

                    So then, this SHOULD work:

                    http://192.168.1.20:8085 substitute your Pi’s ip address

                    You took the language OUT of your config???

                    Create a working config
                    How to add modules

                    1 Reply Last reply Reply Quote 0
                    • I Offline
                      ImTheBadWolf
                      last edited by Oct 12, 2017, 12:26 PM

                      Thanks guys it is working now… I dont know why but in the morning it wasnt working and now it is :D I didnt change everything except rebooted rpi so that may be the answer

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