I'd like to better understand the communication architecture and I'm having trouble finding documents with regards to ports used and for what purpose.
Some time ago, I did find a document that described 4464 and 61000 ports but can't find it anymore (perhaps CCRMA site, or github.io
, don't know :)). Pointers appreciated.
Anyhow, the issue I'm having is having a remote jacktrip server in hub mode working as expected, which is super-nice. But when the clients are connecting from a network with the same "public IP", only one client can stay connected. I'm assuming this has something to do with how the ports are being handled, specifically port 4464.
To illustrate what I mean (hopefully this ASCII art will come across :)):
│ Jacktrip server │
Firewall │ │
with single public IP │ │
│ Client 1 │ │ Client 2 │
│ e.g.192.168.0.10 │ │ e.g.192.168.0.20│
For instance, I connect Client 1 using "jacktrip -C server.example.com
-K Client1" and then issue similar on Client2.
The instant Client2 connects to the server, the client1 gets disconnected:
sending exit packet
JackMachSemaphore::TimedWait name = js501.server.example.com
usec = 9223372036854775807 err = (os/kern) aborted
JackClient::Execute error name = server.example.com
JackTrip Processes STOPPED!
If Client 1 and Client 2 don't share the same public network, it works flawlessly.