Roon ARC "Port is already in use" error after update on Mac mini (ref#WGJ8PT)

Hi! What’s not quite right with Roon?

· Can’t reach my Server, remotes or ARC

Can’t connect to my Server, remotes or ARC

· Other ARC issues

Tell us what's going on

· Roon ARC “Port is already in use” for any port after 2.74 (build 1716) update – port is free, no listener started, Mac mini

Tell us about your home network

· Roon Server: Roon.app 2.74 (build 1716) production on a Mac mini, macOS, wired Ethernet, IP 192.168.2.101. Server identifies itself as “Axels-MBP-2-13” because the database was migrated from a MacBook Pro earlier.
Remote: Roon on macOS.
Network: Ethernet only, Wi-Fi off, no VPN. IPv6 set to Automatic (router provides none). macOS firewall disabled.

Problem: Since the update that required granting the macOS “Local Network” permission, Settings → Roon ARC shows “Not ready – Port 52129 is already in use. Either change the listening port or close any applications which may be using this port.” The same message appears for any port I enter (tried 55002), the port field sometimes even goes blank, and “Roon Server IP” stays empty.

What I checked:

lsof -nP -iTCP:52129 (also with sudo): empty, nothing holds the port.
nc -l 0.0.0.0 52129 plus nc -vz 192.168.2.101 52129: bind works, connection succeeds. macOS can use the port.
lsof -nP -iTCP -sTCP:LISTEN | grep -i roon: only the usual 9xxx and ephemeral 506xx ports, no ARC listener is opened at all.
Local Network permission is granted for both “Roon” and “RoonServer”. Toggled off/on, Roon fully quit and restarted, Mac rebooted. No change.
Only Roon.app is installed, no separate RoonServer.app. Exactly one RoonServer/RoonAppliance/RAATServer process running.
No EADDRINUSE or “already in use” error anywhere in RoonServer_log*.txt.

Log (RoonServer_log.txt):

[mobile] [remoteconnectivity] Port Verification started due to: called by UI, port verification not in progress, starting a new attempt
[mobile] [remoteconnectivity] Port Verification started due to: called by UI, not testing port opening in router because the Roon Core is set to use a manually selected port that is in use by another program on the same machine
[mobile] [remoteconnectivity] Verification Task Completed!
[mobile] [remoteconnectivity] Got Verification Task Result: {}

At server start additionally:

Warn: unobserved task exception: System.AggregateException ... System.Net.Sockets.SocketException (89): Operation canceled

Likely the MacBook Pro had a different IP address to the Mini, and you have a port forwarding rule for that port and the MacBook.

To solve this, edit the rule in your router, and change the IP address to 192.168.2.101 (Mac Mini.)

Hi @Axel_Schmitz-Tewes,

You mentioned that you migrated the Mac over, so the old MacBook Pro may have been on a different IP address than the Mac mini. If you changed the ARC port, you will also need to update the port forwarding rule in your router so it matches the new port. Or, as @mjw suggested, you can change the IP address and leave the port the same. Let us know how that looks once you’ve checked the router rule.

Thanks, but the router rule is not the issue here. I checked it: the forwarding rule points to 192.168.2.101, port 52129, which is the Mac mini.

The problem is one step earlier, on the server itself. Roon never tests the router at all. The log says:

[remoteconnectivity] ... not testing port opening in router because the Roon Core is set to use a manually selected port that is in use by another program on the same machine

and the verification result is {}. “Roon Server IP” in the ARC settings stays empty, and no ARC listener is opened (checked with lsof). The port is free on the Mac mini: lsof shows nothing on 52129, and nc can bind and connect on it. The same message appears for any port I enter. Everything worked until the 2.74 build 1716 update; the ARC app update happened at the same time but the app is not involved yet, since the server side never gets past this check.

So the server holds a stale “port in use on this machine” state that does not match reality. Can you pull diagnostics and reset that stored ARC state?

Solved. After the 1719 update, changing the listening port once more (to 52200) cleared the stale “port in use” state; Roon Server IP appeared and the router test ran. The only remaining step was updating the forwarding rule in the router to the new port. ARC now shows “Ready”. Thanks.