Cannot get address of non-running Server

Hi, I am trying to start scheduler on Linux by simply running $dask-scheduler --port 8786 --dashboard-address 8787 --host localHost
and got this error: ValueError: cannot get address of non-running Server
Packages I use
click==7.1.2
dask==2021.3.0
distributed==2021.3.0
Has anyone run into the same error before? Any help is appreciated

So in my case, I need close the linux window to completely ‘stop’ the running server.

Hi @sivlElyh! When I run dask-scheduler --port 8786 --dashboard-address 8787 --host localHost it seems to work just fine-- I see the scheduler and dashboard addresses. I tried this both with the latest Dask version (2022.01.0) and the 2021.3.0. Would you be able to provide the complete traceback? Or more context?