Error connecting the server on port 4000 after rebuilding firebase studio project

Hi, I’m attempting to work through the following code lab:

When I rebuild as part of step #4, I’m getting the following error message within the browser:

Unable to forward your request to a backend

Couldn’t connect to a server on port 4000. Ensure you have selected the correct port with a HTTP server running on it.

OK, I was able to resolve this issue by making port 4000 public. It would be nice if this was a bit more automatic for the developer.

1 Like