Read the statement by Michael Teeuw here.
EADDRINUSE assistant not working
-
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 -
Something else is using port 8080. Are u using pm2?
pm2 list
pm2 stop 0 ( or it’s name from the list)
-
yes i am using pm2 .
any idea how can i make assistantmk2 to use some other port ??
Thanks
-
@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-NotificationTriggerthese 4 module wants to connect to 8080 port but its already being used by remote control so what can i do now?
-
@siddhartha they should be using the MagicMirror port, so not a problem
Are two MagicMirrors trying to run at the same time?
pm2 list
-
nope just one.
-
@siddhartha while you think nothing is running do
ps -ef | grep nodeDoes that produce more than 1 line of output?
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