ERR_EMPTY_RESPONSE with getting-started tutorial

Similar to this post, I’m a Docker beginner running into a ERR_EMPTY_RESPONSE issue when trying the Start an app container step of the “getting-started” tutorial.

I can successfully run docker run -dp 3000:3000 getting-started, but when I navigate to http://localhost:3000 my browser shows the following message:

This page isn’t working
localhost didn’t send any data.

Unfortunately, unlike the older post, I can effectively run the application on port 3000 and running docker ps shows the following.

Other details:
MacOS: Ventura 13.3.1 on M1 chip
Docker Engine: v20.10.24

Started everything again from scratch and was able to get it working.

I have the exact same thing…when you say you started everything again from scratch do you mean you completely uninstalled docker or just the getting-started app?

I’ve completely reinstalled everything and even updated my WSL2 to the latest 22.04 LTS and I’m still getting the exact same problem…does anyone have any suggestions on this?