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.

    Error code EADDRINUSE

    Scheduled Pinned Locked Moved Solved Requests
    41 Posts 3 Posters 15.3k 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.
    • P Offline
      PXNDA
      last edited by

      I’ve tracked the problem to the address. I’ve changed it from localhost to 0.0.0.0. Any ideas why.

      1 Reply Last reply Reply Quote 0
      • P Offline
        PXNDA
        last edited by

        Ok, I’ve figured that Electron only accepts https certified addresses so how can i fix that.

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

          @PXNDA electron does not do https unless u do a lot of extra work

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • P Offline
            PXNDA
            last edited by

            I mean that Electron won’t accept 0.0.0.0

            S 1 Reply Last reply Reply Quote 0
            • P Offline
              PXNDA
              last edited by

              It works fine with localhost.

              1 Reply Last reply Reply Quote 0
              • P Offline
                PXNDA
                last edited by

                I’m trying to use MMM-Remote-Control.

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

                  @PXNDA that just says listen anywhere (all adapters)

                  localhost means ONLY localhost, ONLY from THAT machine to THAT machine
                  external machines should not be able to connect

                  with 0.0.0.0 you also need to open the whitelist (allowed sources) , by default NO other ip address (localhost only still)…

                  RemoteControl ois listening on the MM ip address (using the express server and routes/(paths in the url)
                  so if ONLY localhost then cannot connect from outside the pi)… makes ;remote ’ control pretty hard…

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • P Offline
                    PXNDA
                    last edited by

                    I’ve also done that, no change.

                    S mumblebajM 2 Replies Last reply Reply Quote 0
                    • S Offline
                      sdetweil @PXNDA
                      last edited by

                      @PXNDA is this windows? Open the firewall on 8080

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      1 Reply Last reply Reply Quote 0
                      • P Offline
                        PXNDA
                        last edited by

                        This post is deleted!
                        1 Reply Last reply Reply Quote 0
                        • mumblebajM Offline
                          mumblebaj Module Developer @PXNDA
                          last edited by

                          @PXNDA It was suggested with the v2.8 update that anybody running Electron should update to the latest Raspbian version prior to upgrading to v2.8. Have you updated your Raspbian to the latest version?

                          Check out my modules at: https://github.com/mumblebaj?tab=repositories
                          Check my blog-post: https://mumblebaj.xyz/
                          Check my MM Container: https://hub.docker.com/repository/docker/mumblebaj/magicmirror/general

                          1 Reply Last reply Reply Quote 0
                          • P Offline
                            PXNDA
                            last edited by

                            I’ve opened a new rule on firewall for port 8080 @sdetweil and there is no change. @mumblebaj I’m using Windows 10.

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

                              @PXNDA ok, change the config.js port to something else, 8090 for example

                              Sam

                              How to add modules

                              learning how to use browser developers window for css changes

                              1 Reply Last reply Reply Quote 0

                              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                              With your input, this post could be even better 💗

                              Register Login
                              • 1
                              • 2
                              • 3
                              • 2 / 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