Search code examples
windows-subsystem-for-linuxdagster

Calling localhost:3000 on the browser after starting dagit returns ERR_CONNECTION_REFUSED


I have just started trying out dagster, I am already stumped at the first steps.

In the guide they specify:

Then, start the Dagit web server:

dagit

Open http://localhost:3000 with your browser to see the project.

Now, you can start writing assets in my_dagster_project/assets/, define your own ops or jobs and include them in my_dagster_project/repository.py.

Alright, I started dagit but I get ERR_CONNECTION_REFUSED when I try to open it via the browser. Any ideas?

FYI, I am using WSL2.


Solution

  • Ok,

    This was a WSL2 port forwarding or localhost definition problem, nothing to do with dagster. I restarted my local machine and now it is working.

    enter image description here