-
-
Notifications
You must be signed in to change notification settings - Fork 26.9k
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
Proxy assumes server can bind to IPv6 when specifying localhost #2330
Comments
Can you downgrade to 1.0.4 and try? |
Normally, this error would mean that your server is not running on |
Im 100% sure that server works and is running properly. Im not sure what this [::1] means? My package.json has "proxy": "http://localhost:5000" |
What does your |
@tomjal can you try changing your If your application on |
@Timer you were right, it works with 127.0.0.1. The server is .NET Core Kestrel and for some reason it does not work with IPv6. Thanks |
I'm going to reopen this because I think we can make this smarter. |
What version of .NET core are you on? This announcement seems relevant: aspnet/Announcements#185.
Seems like in >=1.0.0 they fixed their bug and bind to |
For what it's worth, I had exactly the same problem with a Google App Engine ( There might be other strange and wonderful servers that people are using that can be affected by this. |
While inspecting these individual cases, it's amazing how deep into the rabbit hole you can go. In @uvtzxpm's case, Most of this testing was done with Node servers on windows which do support IPv6. |
I went ahead and did some testing on Windows. So it seems that If we're not on a network, we are going to be super safe and assume See #2332. |
This should be fixed in 1.0.6. |
@Timer I can confirm that using |
I updated from 0.9.5 to 1.0.5 and it says that:
"Proxy error: Could not proxy request /ui_host/api/v1/account/context from localhost:3000 to http://[::1]:5000/."
Any ideas?
The text was updated successfully, but these errors were encountered: