Describe the annoyance
Currently if there's a rerun server already using WebSocket port 9877 on a machine, rr.serve throws the following error:
RuntimeError: Failed to bind to WebSocket port 9877: Address already in use (os error 98)
To Reproduce
- Launch a script that runs
rr.serve (I ran into it on python, but you can try cd rerun/examples/rust && cargo run --bin minimal_serve)
- While 1 is running, launch above script again in another terminal.
Expected behavior
Assign a different free port (e.g. streamlit does this also).
Your goals
- Having multiple
rr.serve sessions open
- Running
rr.serve on a shared machine/server where multiple users might simultaneously be using rerun
Desktop (please complete the following information):
Describe the annoyance
Currently if there's a rerun server already using WebSocket port 9877 on a machine,
rr.servethrows the following error:To Reproduce
rr.serve(I ran into it on python, but you can trycd rerun/examples/rust && cargo run --bin minimal_serve)Expected behavior
Assign a different free port (e.g. streamlit does this also).
Your goals
rr.servesessions openrr.serveon a shared machine/server where multiple users might simultaneously be using rerunDesktop (please complete the following information):