# How to keep Ray Dashboard alive after program has ended

**URL:** <https://discuss.ray.io/t/how-to-keep-ray-dashboard-alive-after-program-has-ended/474>\
**Category:** Dashboard, Monitoring & Debugging\
**Created:** [January 18, 2021, 1:59am UTC](https://discuss.ray.io/t/how-to-keep-ray-dashboard-alive-after-program-has-ended/474 "2021-01-18T01:59:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mbgm](https://avatars.discourse-cdn.com/v4/letter/m/da6949/32.png) [@mbgm](https://discuss.ray.io/u/mbgm)\
**Post date:** [January 18, 2021, 1:59am UTC](https://discuss.ray.io/t/how-to-keep-ray-dashboard-alive-after-program-has-ended/474/1 "2021-01-18T01:59:00Z")

</div>

I am currently running using Ray for hyperparameter tuning. I am using the `tune.run` method only without `tune.init`. To view the Ray Dashboard, I usually copy the link that shows up (localhost:8265) when the program starts. However, the Dashboard also dies in my browser after the program ends. Is there a way to keep the Dashboard alive so that the results can be analysed slowly after the program ends?

---

<div class="post-metadata">

**Author:** ![Peter\_Pirog](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ray.io/peter_pirog/32/234_2.png) [@Peter\_Pirog](https://discuss.ray.io/u/Peter_Pirog)\
**Post date:** [January 18, 2021, 7:15am UTC](https://discuss.ray.io/t/how-to-keep-ray-dashboard-alive-after-program-has-ended/474/2 "2021-01-18T07:15:40Z")

</div>

@mbgm , if You want to see dashboard after script is done use in console:

> ray start --head --dashboard-host=0.0.0.0

and run python script with:

> ```
> import ray
> ray.init(address='auto', _redis_password='5241590000000000')
> 
> ```

---

<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:** [May 5, 2023, 12:11am UTC](https://discuss.ray.io/t/how-to-keep-ray-dashboard-alive-after-program-has-ended/474/3 "2023-05-05T00:11:25Z")

</div>

Can you describe how you run tune program step by step? @mbgm

- Do you run it on a local ray cluster?
- Do you run it on a remote cluster?  
…
