Skip to content

Commit 02dabe9

Browse files
authored
Add how to connect the server to the CLI command output (#11400)
1 parent a151c79 commit 02dabe9

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

crates/store/re_server/src/server.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ impl ServerHandle {
5151
ready = self.ready.recv() => {
5252
match ready {
5353
Some(local_addr) => {
54-
info!("Ready for connections");
54+
info!("Ready for connections.");
5555
Ok(local_addr)
5656
},
5757
None => Err(ServerError::ReadyChannelClosedUnexpectedly)
@@ -91,7 +91,9 @@ impl Server {
9191
let listener = if let Ok(listener) = TcpListener::bind(self.addr).await {
9292
#[expect(clippy::unwrap_used)]
9393
let local_addr = listener.local_addr().unwrap();
94-
info!("Listening on {local_addr}");
94+
info!(
95+
"Listening on {local_addr}. To connect the Rerun Viewer, use the following address: rerun+http://{local_addr}"
96+
);
9597

9698
#[expect(clippy::unwrap_used)]
9799
ready_tx.send(local_addr).await.unwrap();

0 commit comments

Comments
 (0)