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 assistant not working

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    7 Posts 2 Posters 1.3k 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.
    • S Offline
      siddhartha
      last edited by

      Starting MagicMirror: v2.8.0
      Loading config …
      Loading module helpers …
      No helper found for module: alert.
      No helper found for module: compliments.
      Initializing new module helper …
      Module helper loaded: updatenotification
      No helper found for module: clock.
      Initializing new module helper …
      Module helper loaded: calendar
      No helper found for module: currentweather.
      No helper found for module: weatherforecast.
      Initializing new module helper …
      Module helper loaded: newsfeed
      Initializing new module helper …
      Module helper loaded: MMM-AlexaPi
      Initializing new module helper …
      Module helper loaded: MMM-NetworkConnection
      No helper found for module: MMM-iFrame.
      No helper found for module: MMM-page-indicator.
      Initializing new module helper …
      Module helper loaded: MMM-MusicOnDemand
      Initializing new module helper …
      Module helper loaded: MMM-AssistantMk2
      Initializing new module helper …
      Module helper loaded: MMM-Hotword
      Initializing new module helper …
      Module helper loaded: MMM-NotificationTrigger
      No helper found for module: MMM-pages.
      All module helpers loaded.
      Starting server on port 8080 …
      Server started …
      Connecting socket for: updatenotification
      Connecting socket for: calendar
      Starting node helper for: calendar
      Connecting socket for: newsfeed
      Starting module: newsfeed
      Connecting socket for: MMM-AlexaPi
      Starting node helper for: MMM-AlexaPi
      Connecting socket for: MMM-NetworkConnection
      MMM-NetworkConnection helper started …
      Connecting socket for: MMM-MusicOnDemand
      Connecting socket for: MMM-AssistantMk2
      Connecting socket for: MMM-Hotword
      [HOTWORD] MMM-Hotword starts
      Connecting socket for: MMM-NotificationTrigger
      Sockets connected & modules started …
      Whoops! There was an uncaught exception…
      { Error: listen EADDRINUSE 0.0.0.0:8080
      at Server.setupListenHandle [as _listen2] (net.js:1330:14)
      at listenInCluster (net.js:1378:12)
      at doListen (net.js:1492:7)
      at process._tickCallback (internal/process/next_tick.js:63:19)
      at Function.Module.runMain (internal/modules/cjs/loader.js:755:11)
      at startup (internal/bootstrap/node.js:241:19)
      at bootstrapNodeJSCore (internal/bootstrap/node.js:579:3)
      errno: ‘EADDRINUSE’,
      code: ‘EADDRINUSE’,
      syscall: ‘listen’,
      address: ‘0.0.0.0’,
      port: 8080 }
      MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
      If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
      Launching application.
      n^CShutting down server…
      Stopping module helper: updatenotification
      Stopping module helper: calendar
      Stopping module helper: newsfeed
      Stopping module helper: MMM-AlexaPi
      Stopping module helper: MMM-NetworkConnection

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

        Something else is using port 8080. Are u using pm2?

        pm2 list

        pm2 stop 0 ( or it’s name from the list)

        Sam

        How to add modules

        learning how to use browser developers window for css changes

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

          yes i am using pm2 .

          any idea how can i make assistantmk2 to use some other port ??

          Thanks

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

            @siddhartha said in EADDRINUSE assistant not working:

            Connecting socket for: MMM-MusicOnDemand
            Connecting socket for: MMM-AssistantMk2
            Connecting socket for: MMM-Hotword
            [HOTWORD] MMM-Hotword starts
            Connecting socket for: MMM-NotificationTrigger

            these 4 module wants to connect to 8080 port but its already being used by remote control so what can i do now?

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

              @siddhartha they should be using the MagicMirror port, so not a problem

              Are two MagicMirrors trying to run at the same time?

              pm2 list

              Sam

              How to add modules

              learning how to use browser developers window for css changes

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

                nope just one.

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

                  @siddhartha while you think nothing is running do

                  ps -ef | grep node
                  

                  Does that produce more than 1 line of output?

                  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