-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] Getting connect ECONNREFUSED when app is running on localhost #7017
Comments
Huh, I would expect both
|
Oh sorry I misunderstood, you are getting that error through code-server's built-in proxy. |
If |
@code-asher can you please give me an update on this issue on the light of my recent comment |
Hello there, If i'm running curl from my code-server instance this is working |
Hey, sorry for the delayed response.
I think this is the case, yes. Possibly we should forward to |
Maybe this is the same thing, can you make Backstage listen on |
Hey @code-asher sorry for my late response I've just try it out, it looks like i'm being redirect but webpack return an invalid host header, this more related to how backstage is launch from my point of view |
Is there an existing issue for this?
OS/Web Information
code-server --version
: 4.91.1Steps to Reproduce
and
python -m http.server -b localhost
then open 8000.customdomain.tld in the browserExpected
It should show the http server correctly
Actual
the following error displays:
Note that when running
python -m http.server -b 127.0.0.1
the server is shown correctly as per the following image:Logs
No response
Screenshot/Video
No response
Does this bug reproduce in native VS Code?
I did not test native VS Code
Does this bug reproduce in GitHub Codespaces?
I did not test GitHub Codespaces
Are you accessing code-server over a secure context?
Notes
This was tested using an angular app as well (since the host is localhost by default in it) and the same happens when I set the host in ng serve to 127.0.0.1 the app is shown correctly when I leave it by default (aka localhost) it doesn't
The text was updated successfully, but these errors were encountered: