The core and the window are two programs
In the original eMule the interface and the engine were one process: close the window and everything stopped. eMule Qt splits them.
emulecored— a headless daemon that does all the work: networking, transfers, hashing, ED2K and Kademlia. It needs no display and runs happily on a server, a NAS or a small ARM box.emuleqt— the Qt 6 interface. It attaches to a daemon on the same machine or across the network.
Start the GUI and it launches a daemon for you, so nothing is more complicated than before. But you can also leave the core running 24/7 and attach a window whenever you want to look at it. Closing the GUI does not stop your downloads.
How they talk
The link is a compact binary protocol: a 4-byte length prefix followed by a CBOR payload, over TCP on port 4712 by default. Requests, responses and push events are separate message classes, so the interface is updated as things happen rather than by polling. For connections that leave the machine, the link can be encrypted with AES-256-CBC using a key derived from a token you set. The message space is versioned, so a newer core keeps working with an older GUI.
Why it matters
Your downloads live on the machine that should be running them, and your interface lives on the machine you happen to be sitting at. Two windows can even watch the same daemon and see the same picture.
Running the core on a NAS or server
The usual setup: emulecored runs day and night on a NAS, home server or VPS, and the GUI on your desktop or laptop connects to it when you want to look. Three things tie them together: the address the core listens on, the IPC port (4712) and a token.
1. Start the core on the server
- Docker (Synology, QNAP, Unraid, any Linux box) — the official image
ghcr.io/moddermule/emuleqtruns the core and publishes 4712. SetEMULEQT_IPC_TOKEN, or read the generated token fromdocker logs. Keep/configon a volume so the token and certificate survive updates. Details in the Docker guide. - Linux tarball — unpack it and run
emulecored(as a systemd service if you like).--config <dir>picks the profile folder,--autoupdatekeeps a headless core current on its own. - Windows or macOS — start eMule Qt once on that machine, open Options › General › Core and press Detach. The core then keeps running after you close the window.
2. Let it listen on the network
Out of the box the core accepts only connections from its own machine. In preferences.yml set the ipc section’s listenAddress to the server’s LAN address, or to * for all addresses:
ipc:
enabled: true
port: 4712
listenAddress: "*"
tokens:
- "a-long-random-token"
Stop the core before you edit the file — a running core writes its own settings back. The core creates a token on first start if there is none. With a GUI on the server itself it is easier: Options › General › Core › Create Connect Script…, enter the server’s address and press Listen on This Address. That switches the core at once, without a restart.
3. Point the GUI at it
On your desktop open Options › General and fill in the Core group: Address (the server’s IP or host name), Port and Token, then restart the GUI. Running shows which core the window uses and whether it stops with the GUI — a remote core never does.

Other ways in, without touching your own settings:
- Connect script — Create Connect Script… saves a small PowerShell or shell script for Windows, macOS or Linux that starts eMule Qt connected to this core. The token can go inside the script or be asked for at start.
- Command line —
emuleqt --core-host 192.168.1.10 --core-port 4712with the token in theEMULEQT_CORE_TOKENenvironment variable. It applies to this run only, and the token never shows up in the process list. - Connect dialog — a GUI that finds no core asks for host, port and token.
Security
Every connection from another machine runs over TLS; the token is never sent in the clear and a plaintext remote client is dropped. The core makes a self-signed certificate on first start and logs its SHA-256 fingerprint. The GUI pins that fingerprint on its first connect — it appears under Trusted cores — and asks before it sends anything if the core later shows a different one. The token gives full control over the core, so keep 4712 on your LAN or reach it through a VPN; never forward it on the router. For a phone there is the qDonkey app, which reaches the core over the ed3k tunnel without any port forward (Paired phones).
What stays where
Downloads, part files, shared folders and all network settings belong to the core and live on the server; paths in Options › Directories are server paths. Window layout, column widths and skins belong to the GUI and stay on each desktop. Several GUIs can attach to one core at the same time, and the web interface on port 4711 works alongside them.