Results 777 comments of Asher

Huh, I would expect both `localhost` and `127.0.0.1` to be inaccessible if they are inside the Docker container but `127.0.0.1` works for the Angular app? Does code-server work if you...

Oh sorry I misunderstood, you are getting that error through code-server's built-in proxy. `8000.customdomain.tld` will try to proxy whatever is on port `8000`, so this error means nothing is running...

If `127.0.0.1` works but not `localhost`, is it possible the Angular app is binding to ipv6?

Hey, sorry for the delayed response. > So the issue as I understand is that the built-in proxy forwards the request to 0.0.0.0 even when the running server is binding...

> don't really know why but the proxy return econnrefused. Maybe this is the same thing, can you make Backstage listen on `127.0.0.1` explicitly?

Oh interesting. It might be because we proxy to `0.0.0.0` which does not match `127.0.0.1`. Maybe listening on `0.0.0.0` will work?

Nice! Not sure on the wss redirect, seems weird if it is using http.

Thank you for the PR! Do you know what exactly causes the bug? I tried to reproduce with `docker compose` and then `docker restart` but it seems to be working...

Ohh interesting! If it runs as root, is that a sign that something else is wrong? Either way, it seems reasonable to use `id` to detect if the user already...