Skip to main content

SSH Tunneling Method

  1. Start Visdom in the instance (it will listen on port 8097 by default).
  2. In the terminal on your local computer, execute the command:
bash
In here, 8097:127.0.0.1:8097 means forwarding the Visdom Server’s port 8097 to your local port 8097, and root@region-1.gpuhub.com and 37881 are the access address and port of the instance’s SSH command, respectively. Please replace them accordingly.
It is normal not to see any logs after executing the above ssh command, as long as it does not prompt you to re-enter your password or exit.
Example:
Access 127.0.0.1:8097 in your local web browser to open Visdom.

Custom Service Method

Start the instance and locate the “Custom Services” entry point. From the prompt, it is clear that we only need to start Visdom on port 6006 to access it via the “Custom Services” portal: Start Visdom in the instance and specify the port as 6006.
Additionally, since the Visdom client defaults to connecting to the Visdom server on the original port, you need to modify the construction of the Visdom object in the client code as follows:
python
After starting, access the custom service in your local browser.