<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[MM ClientOnly + Docker as a server on the same machine]]></title><description><![CDATA[<p dir="auto">Hallo,<br />
I need to run MagicMirror as a server and client at the same raspberry.<br />
For this purposes I have:</p>
<ol>
<li>installed MM server docker container (as per <a href="https://github.com/bastilimbach/docker-MagicMirror" target="_blank" rel="noopener noreferrer nofollow ugc">https://github.com/bastilimbach/docker-MagicMirror</a>) . It works fine and accessible through browser at 172.17.0.1 and at localhost.</li>
<li>installed MM and through automatic installation</li>
</ol>
<pre><code>bash -c "$(curl -sL https://raw.githubusercontent.com/MichMich/MagicMirror/master/installers/raspberry.sh)"
</code></pre>
<ol start="3">
<li>run MM client according to the manual:</li>
</ol>
<pre><code>npm start &amp;&amp; node clientonly --address 172.17.0.1 --port 8080
</code></pre>
<p dir="auto">Here is the log</p>
<pre><code>pi@raspberrypi:~/MagicMirror $ npm start &amp;&amp; node clientonly --address 172.17.0.1 --port 8080

&gt; magicmirror@2.7.1 start /home/pi/MagicMirror
&gt; sh run-start.sh

Starting MagicMirror: v2.7.1
Loading config ...
Loading module helpers ...
No helper found for module: alert.
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: compliments.
No helper found for module: currentweather.
No helper found for module: weatherforecast.
Initializing new module helper ...
Module helper loaded: newsfeed
All module helpers loaded.
Starting server on port 8080 ... 
You're using a full whitelist configuration to allow for all IPs
Server started ...
Connecting socket for: updatenotification
Connecting socket for: calendar
Starting node helper for: calendar
Connecting socket for: newsfeed
Starting module: newsfeed
Sockets connected &amp; 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.
^CShutting down server...

pi@raspberrypi:~/MagicMirror $
</code></pre>
<p dir="auto">config.js is configured as the following:</p>
<pre><code>var config = {
	address: "0.0.0.0", // Address to listen on, can be:
	                      // - "localhost", "127.0.0.1", "::1" to listen on loopback interface
	                      // - another specific IPv4/6 to listen on a specific interface
	                      // - "", "0.0.0.0", "::" to listen on any interface
	                      // Default, when address config is left out, is "localhost"
	port: 8080,
	ipWhitelist: [], // Set [] to allow all IP addresses
	                                                       // or add a specific IPv4 of 192.168.1.5 :
	                                                       // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"],
	                                                       // or IPv4 range of 192.168.3.0 --&gt; 192.168.3.15 use CIDR format :
	                                                       // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"],
</code></pre>
<p dir="auto">Could anyone tell me what should i look at?<br />
I need to run both (1) MM server in a docker container and (2) MM client at the same Raspberry.</p>
]]></description><link>https://forum.magicmirror.builders/topic/10573/mm-clientonly-docker-as-a-server-on-the-same-machine</link><generator>RSS for Node</generator><lastBuildDate>Sat, 16 May 2026 21:08:12 GMT</lastBuildDate><atom:link href="https://forum.magicmirror.builders/topic/10573.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 03 Jun 2019 18:08:20 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to MM ClientOnly + Docker as a server on the same machine on Mon, 03 Jun 2019 18:34:15 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/serge" aria-label="Profile: Serge">@<bdi>Serge</bdi></a> npm start, starts the full system, and node clientonly starts the client</p>
<p dir="auto">But u have a server already using docker so, only do node clientonly</p>
]]></description><link>https://forum.magicmirror.builders/post/57692</link><guid isPermaLink="true">https://forum.magicmirror.builders/post/57692</guid><dc:creator><![CDATA[sdetweil]]></dc:creator><pubDate>Mon, 03 Jun 2019 18:34:15 GMT</pubDate></item></channel></rss>