# Ray Dashboard .yaml is not working

**URL:** <https://discuss.ray.io/t/ray-dashboard-yaml-is-not-working/9026>\
**Category:** Ray Clusters\
**Created:** [January 19, 2023, 5:54am UTC](https://discuss.ray.io/t/ray-dashboard-yaml-is-not-working/9026 "2023-01-19T05:54:28Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![sungkim](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ray.io/sungkim/32/3692_2.png) [@sungkim](https://discuss.ray.io/u/sungkim)\
**Post date:** [January 19, 2023, 5:54am UTC](https://discuss.ray.io/t/ray-dashboard-yaml-is-not-working/9026/1 "2023-01-19T05:54:28Z")

</div>

I modified the example-full.yaml file to add the following information:

- Head IP Address
- Worker IP Addresses
- ssh\_user

I used the same file to deploy a Ray cluster, which works fine.

If I use that same file on a different machine to start a dashboard so I can submit a job, it fails:

ray dashboard example-full.yaml

Actually, it fails for all ray commands (e.g., exec), but I can connect using python - ray.init(address=head\_node\_ip\_address) from a different machine. What am I doing wrong here?

---

<div class="post-metadata">

**Author:** ![Huaiwei\_Sun](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ray.io/huaiwei_sun/32/1316_2.png) [@Huaiwei\_Sun](https://discuss.ray.io/u/Huaiwei_Sun)\
**Post date:** [January 23, 2023, 5:41am UTC](https://discuss.ray.io/t/ray-dashboard-yaml-is-not-working/9026/2 "2023-01-23T05:41:22Z")

</div>

cc: @sangcho @aguo for ideas

---

<div class="post-metadata">

**Author:** ![sangcho](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ray.io/sangcho/32/425_2.png) [@sangcho](https://discuss.ray.io/u/sangcho)\
**Post date:** [January 24, 2023, 7:27am UTC](https://discuss.ray.io/t/ray-dashboard-yaml-is-not-working/9026/3 "2023-01-24T07:27:17Z")

</div>

Can you please post an error message?

---

<div class="post-metadata">

**Author:** ![sungkim](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ray.io/sungkim/32/3692_2.png) [@sungkim](https://discuss.ray.io/u/sungkim)\
**Post date:** [February 2, 2023, 3:29am UTC](https://discuss.ray.io/t/ray-dashboard-yaml-is-not-working/9026/4 "2023-02-02T03:29:54Z")

</div>

Attempting to establish dashboard locally at [http://localhost:8265/](http://localhost:8265/) connected to remote port 8265  
2023-02-01 19:26:19,591 VWARN commands.py:337 – Loaded cached provider configuration from /tmp/ray-config-fafd691b0a09741a8227e501f5bc38e2843d0db8  
2023-02-01 19:26:19,591 WARN commands.py:345 – If you experience issues with the cloud provider, try re-running the command with --no-config-cache.  
2023-02-01 19:26:19,591 INFO node\_provider.py:54 – ClusterState: Loaded cluster state: [‘ip\_address\_1’, ‘ip\_address\_2’, ‘ip\_address\_3’]  
Error: Failed to forward dashboard from remote port 8265 to local port 8265. There are a couple possibilities:

1. The remote port is incorrectly specified
2. The local port 8265 is already in use.  
The exception is: Head node of cluster (default) not found!

---

<div class="post-metadata">

**Author:** ![purvp2111](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ray.io/purvp2111/32/5796_2.png) [@purvp2111](https://discuss.ray.io/u/purvp2111)\
**Post date:** [March 7, 2024, 5:21pm UTC](https://discuss.ray.io/t/ray-dashboard-yaml-is-not-working/9026/5 "2024-03-07T17:21:31Z")

</div>

I am getting the same error
