mirror of
https://github.com/wassname/ray.git
synced 2026-07-28 11:25:04 +08:00
Make Dashboard Port Configurable (#8999)
This commit is contained in:
@@ -150,7 +150,7 @@ the dashboard. For example,
|
||||
Note: If Ray is running on a remote node, you will need to set up an
|
||||
SSH tunnel with local port forwarding in order to access the dashboard
|
||||
in your browser, e.g. by running 'ssh -L 8265:127.0.0.1:8265
|
||||
<username>@<host>'. Alternatively, you can set webui_host="0.0.0.0" in
|
||||
<username>@<host>'. Alternatively, you can set dashboard_host="0.0.0.0" in
|
||||
the call to ray.init() to allow direct access from external machines.
|
||||
======================================================================
|
||||
|
||||
|
||||
@@ -18,6 +18,9 @@ Getting Started
|
||||
---------------
|
||||
You can access the dashboard through its default URL, **localhost:8265**.
|
||||
(Note that the port number increases if the default port is not available).
|
||||
If you prefer to explicitly set the port on which the dashboard will run, you can pass
|
||||
the ``--dashboard-port`` argument with ``ray start`` in the command line, or you can pass the
|
||||
keyword argument ``dashboard_port`` in your call to ``ray.init()``.
|
||||
|
||||
The URL is printed when ``ray.init()`` is called.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user