From f5f424095a05ce565249955f5919f4c06e3c7319 Mon Sep 17 00:00:00 2001 From: machenmusik Date: Tue, 31 Jan 2023 22:27:05 -0500 Subject: [PATCH] Document localhost URL (fixes #1323) (#1324) Document localhost URL Co-authored-by: Chen, Michael --- docs/developer_guides/viewer/viewer_overview.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/developer_guides/viewer/viewer_overview.md b/docs/developer_guides/viewer/viewer_overview.md index b80463e75..4e10319b6 100644 --- a/docs/developer_guides/viewer/viewer_overview.md +++ b/docs/developer_guides/viewer/viewer_overview.md @@ -50,6 +50,10 @@ yarn install yarn start ``` +The local webserver runs on port 4000 by default, +so when `ns-train` is running, you can connect to the viewer locally at +[http://localhost:4000/?websocket_url=ws://localhost:7007](http://localhost:4000/?websocket_url=ws://localhost:7007) + #### Running the Bridge Server Manually The viewer bridge server runs on the same machine that you use for training. The training code will connect to this server with a lightweight TCP connection using ZMQ. The training job will launch the viewer bridge server is you specify `--viewer.launch-bridge-server` in the terminal. Otherwise, you can launch the bridge server manually with the following script.