mirror of
https://github.com/wassname/ray.git
synced 2026-06-29 09:39:46 +08:00
[Dashboard] Change default port from 8080 to 8265 (#6503)
* [Dashboard] Change default port from 8080 to 8265 * Revise order of imports in pip install setup command
This commit is contained in:
@@ -99,7 +99,7 @@ setup_commands:
|
||||
- git clone https://github.com/ray-project/ray || true
|
||||
- ray/ci/travis/install-bazel.sh
|
||||
- cd ray/python/ray/dashboard/client; npm ci; npm run build
|
||||
- pip install boto3==1.4.8 cython==0.29.0 aiohttp psutil setproctitle
|
||||
- pip install boto3==1.4.8 cython==0.29.0 aiohttp grpcio psutil setproctitle
|
||||
- cd ray/python; pip install -e . --verbose
|
||||
|
||||
# Custom commands that will be run on the head node after common setup.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
const base =
|
||||
process.env.NODE_ENV === "development"
|
||||
? "http://localhost:8080"
|
||||
? "http://localhost:8265"
|
||||
: window.location.origin;
|
||||
|
||||
// TODO(mitchellstern): Add JSON schema validation for the responses.
|
||||
|
||||
@@ -1040,7 +1040,7 @@ def start_dashboard(host,
|
||||
Returns:
|
||||
ProcessInfo for the process that was started.
|
||||
"""
|
||||
port = 8080
|
||||
port = 8265 # Note: list(map(ord, "RAY")) == [82, 65, 89]
|
||||
while True:
|
||||
try:
|
||||
port_test_socket = socket.socket()
|
||||
|
||||
@@ -19,7 +19,7 @@ def test_get_webui(shutdown_only):
|
||||
webui_url = addresses["webui_url"]
|
||||
assert ray.get_webui_url() == webui_url
|
||||
|
||||
assert re.match(r"^http://\d+\.\d+\.\d+\.\d+:8080$", webui_url)
|
||||
assert re.match(r"^http://\d+\.\d+\.\d+\.\d+:8265$", webui_url)
|
||||
|
||||
start_time = time.time()
|
||||
while True:
|
||||
|
||||
Reference in New Issue
Block a user