How to distribure via Internet
What if one wants to share machines over the internet ?
Its port 50051, is it ?
HD.
From my understanding of the code i've read, 50051 is used only for testing in /test_udp_discovery.py and other test files with other ports(5052/3/4). But in main.py it uses find_available_port function imported from helpers.py which selects port randomly from port 49152 to 65535, and avoids using same port again and again.
I even tried running sudo lsof -i -P -n | grep LISTEN(which tells which ports are in use) on my computer and run exo twice.
In first run,
exo 14131 tanishk 17u IPv6 130934 0t0 TCP *:64296 (LISTEN)
exo 14131 tanishk 18u IPv4 130938 0t0 TCP *:52415 (LISTEN)
In second run,
exo 14049 tanishk 17u IPv6 130772 0t0 TCP *:50969 (LISTEN)
exo 14049 tanishk 18u IPv4 130776 0t0 TCP *:52415 (LISTEN)
So you can see that the port got changed from port 64296 to 50969 when i reran it, so it's random.
https://github.com/exo-explore/exo/issues/879#issuecomment-3670942858
Working on it, a lot has changed since 1.0 so please re-open if this is still an issue - but finer grained control is coming.