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

eaddress in use

Scheduled Pinned Locked Moved Solved Troubleshooting
10 Posts 5 Posters 1.5k Views 5 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.
  • B Offline
    Binog
    last edited by Sep 3, 2021, 5:37 PM

    Hey, do have a blank screen. and the logs show:

    /home/pi/.pm2/logs/mm-error.log last 15 lines:
    0|mm | [01.09.2021 18:00.08.684] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
    0|mm | [01.09.2021 18:09.09.021] [ERROR] Whoops! There was an uncaught exception…
    0|mm | [01.09.2021 18:09.09.036] [ERROR] Error: listen EADDRINUSE: address already in use 127.0.0.1:8080
    0|mm | at Server.setupListenHandle [as _listen2] (net.js:1313:16)
    0|mm | at listenInCluster (net.js:1361:12)
    0|mm | at GetAddrInfoReqWrap.doListen [as callback] (net.js:1498:7)
    0|mm | at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:68:8) {
    0|mm | code: ‘EADDRINUSE’,
    0|mm | errno: ‘EADDRINUSE’,
    0|mm | syscall: ‘listen’,
    0|mm | address: ‘127.0.0.1’,
    0|mm | port: 8080
    0|mm | }
    0|mm | [01.09.2021 18:09.09.038] [ERROR] MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
    0|mm | [01.09.2021 18:09.09.039] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues

    this is with a clean install of Magicmirror and the sample.config.

    M 1 Reply Last reply Sep 3, 2021, 5:58 PM Reply Quote 0
    • B Offline
      Binog @BKeyport
      last edited by Sep 7, 2021, 6:25 PM

      @bkeyport

      As the new system is running, I did change the port !

      Thx !

      1 Reply Last reply Reply Quote 1
      • M Online
        mumblebaj Module Developer @Binog
        last edited by mumblebaj Sep 3, 2021, 5:58 PM Sep 3, 2021, 5:58 PM

        @binog said in eaddress in use:

        EADDRINUSE

        The EADDRINUSE error usually means that another instance of the mirror is running. If you start the mirror with pm2, you can do a pm2 list to show the current processes that are running under pm2. You can then stop that process with pm2 stop #id or process stop all. Then you should be able to start the mirror again.

        Check out my modules at: https://github.com/mumblebaj?tab=repositories

        B 1 Reply Last reply Sep 4, 2021, 6:29 AM Reply Quote 0
        • B Offline
          Binog @mumblebaj
          last edited by Sep 4, 2021, 6:29 AM

          @mumblebaj
          Thank You for reply ! None the less, there was no other instance running, I double checked it, nore was an instance under npm running. I finally decided to format the card and start over,… thx

          B 1 Reply Last reply Sep 4, 2021, 10:24 AM Reply Quote 0
          • B Offline
            BKeyport Module Developer @Binog
            last edited by Sep 4, 2021, 10:24 AM

            @binog Even though it’s fixed, there could be another issue - something else running on port 8080. I always change the default ports… 60001, 60002, etc. Less mess.

            The "E" in "Javascript" stands for "Easy"

            C 1 Reply Last reply Sep 6, 2021, 12:47 PM Reply Quote 1
            • N Offline
              nickthebeer
              last edited by Sep 5, 2021, 6:20 AM

              Can you run the following commands from the CLI to check if anything is using that port

              sudo netstat -punta | grep LIST
              sudo netstat -punta | grep 8080
              
              
              B 1 Reply Last reply Sep 5, 2021, 8:06 AM Reply Quote 0
              • B Offline
                Binog @nickthebeer
                last edited by Sep 5, 2021, 8:06 AM

                Thank You, Nickthebeer and BKeyport

                I’ll try in future, I finally decided to reinstall the whole system.

                M 1 Reply Last reply Sep 5, 2021, 8:28 AM Reply Quote 0
                • M Online
                  mumblebaj Module Developer @Binog
                  last edited by Sep 5, 2021, 8:28 AM

                  @binog That is a pity. We could probably have found the issue and save your current state prior to the issue. Hope it is running fine now though.

                  Check out my modules at: https://github.com/mumblebaj?tab=repositories

                  1 Reply Last reply Reply Quote 0
                  • C Offline
                    cowboysdude Module Developer @BKeyport
                    last edited by Sep 6, 2021, 12:47 PM

                    @bkeyport 1st thing I do is change the port always :)

                    B 1 Reply Last reply Sep 6, 2021, 8:14 PM Reply Quote 0
                    • B Offline
                      BKeyport Module Developer @cowboysdude
                      last edited by Sep 6, 2021, 8:14 PM

                      @cowboysdude

                      As well as the sample config is documented, I’m shocked that the port line is blank.

                      I’d totally have it:

                      port: 8080 // Change this! Recommended over 60000 to avoid conflict 
                      

                      But, hey, I’m just a hack, ya know? 😉

                      The "E" in "Javascript" stands for "Easy"

                      B 1 Reply Last reply Sep 7, 2021, 6:25 PM Reply Quote 0
                      • B Offline
                        Binog @BKeyport
                        last edited by Sep 7, 2021, 6:25 PM

                        @bkeyport

                        As the new system is running, I did change the port !

                        Thx !

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