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

EADDRINUSE: address already in use 127.0.0.1:8090

Scheduled Pinned Locked Moved Bug Hunt
9 Posts 2 Posters 1.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.
  • T Offline
    theaddies
    last edited by Feb 19, 2023, 1:41 PM

    When I boot up the MagicMirror I will get a blank screen with a cursor. The message in the log is the following. If I simply change the port to anything else, 8080 then the mirror boots up fine. If I get the error I switch it back to 8090 and it goes away again. I have nothing running on the machine. It is a raspberry pi II with only MagicMirror. TIA

    /home/pi/.pm2/logs/MagicMirror-error.log last 15 lines:
    0|MagicMir | [19.02.2023 07:55.11.006] [ERROR] Error: listen EADDRINUSE: address already in use 127.0.0.1:8090
    0|MagicMir |     at Server.setupListenHandle [as _listen2] (node:net:1432:16)
    0|MagicMir |     at listenInCluster (node:net:1480:12)
    0|MagicMir |     at GetAddrInfoReqWrap.doListen [as callback] (node:net:1629:7)
    0|MagicMir |     at GetAddrInfoReqWrap.onlookup [as oncomplete] (node:dns:111:8) {
    0|MagicMir |   code: 'EADDRINUSE',
    0|MagicMir |   errno: -98,
    0|MagicMir |   syscall: 'listen',
    0|MagicMir |   address: '127.0.0.1',
    0|MagicMir |   port: 8090
    0|MagicMir | }
    0|MagicMir | [19.02.2023 07:55.11.008] [ERROR] MagicMirror² will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
    0|MagicMir | [19.02.2023 07:55.11.010] [ERROR] If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
    0|MagicMir | [2472:0219/075514.107308:ERROR:viz_main_impl.cc(186)] Exiting GPU process due to errors during initialization
    0|MagicMir | [2505:0219/075514.639247:ERROR:gpu_memory_buffer_support_x11.cc(44)] dri3 extension not supported.
    
    S 1 Reply Last reply Feb 19, 2023, 1:59 PM Reply Quote 0
    • S Offline
      sdetweil @theaddies
      last edited by Feb 19, 2023, 1:59 PM

      @theaddies that means something is using the port , maybe you have two instances of mm trying to run

      do

      pm2 status

      are there 2 apps defined?

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      T 1 Reply Last reply Feb 19, 2023, 10:29 PM Reply Quote 0
      • T Offline
        theaddies @sdetweil
        last edited by Feb 19, 2023, 10:29 PM

        @sdetweil Thanks for the reply. I think I did have 2 instances at one time, but I deleted the other one. It does not show up on pm2 status. Is there anything else to remove? Thansk.

        1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil
          last edited by Feb 19, 2023, 10:53 PM

          @theaddies look for running processes

          pm2 stop all
          ps -ef | grep node

          or

          ps -ef | grep npm

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          T 2 Replies Last reply Mar 4, 2023, 1:12 PM Reply Quote 0
          • T Offline
            theaddies @sdetweil
            last edited by Mar 4, 2023, 1:12 PM

            @sdetweil I found /usr/bin node serveronly.

            is that the culpirit?

            1 Reply Last reply Reply Quote 0
            • T Offline
              theaddies @sdetweil
              last edited by Mar 4, 2023, 1:14 PM

              @sdetweil I suppose this makes sense but I killed it and it immediately restarted. I don’t know how to remove it.

              S 1 Reply Last reply Mar 4, 2023, 2:53 PM Reply Quote 0
              • S Offline
                sdetweil @theaddies
                last edited by Mar 4, 2023, 2:53 PM

                @theaddies you must have added it as part of the manual install instructions

                do the reverse to take it out…

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                T 1 Reply Last reply Mar 4, 2023, 9:49 PM Reply Quote 0
                • T Offline
                  theaddies @sdetweil
                  last edited by Mar 4, 2023, 9:49 PM

                  @sdetweil thanks for the reply but I have no idea what I see did

                  S 1 Reply Last reply Mar 4, 2023, 11:05 PM Reply Quote 0
                  • S Offline
                    sdetweil @theaddies
                    last edited by Mar 4, 2023, 11:05 PM

                    @theaddies sorry. no idea myself.

                    I gave up long ago trying to remember the 900 different ways to auto start things on the myriad different platforms.

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

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