-
-
Notifications
You must be signed in to change notification settings - Fork 26.8k
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
Can't proxy from localhost:3000 to localhost:7000 without internet connection #1116
Comments
|
Can we fix this in https://github.com/nodejitsu/node-http-proxy? |
Apparently it's "by design" in Node? I don't really understand this. Should we just hardcode it to use |
@gaearon I did that, and it worked, I didn't find any other solution |
I'll take a PR that does it on Windows (the problem is specific to Windows right?). Would you like to submit one? |
I am working on this now. |
@bunshar Any updates? |
@gaearon the change was very small but lost my access to windows machine for testing. Will install on virtualbox and send PR with a day or two. |
I believe this has been fixed. Please open if this still reproduces on the newest |
In my client's package.json.
"proxy": "http://localhost:7000"
with internet connection everything is fine and the api works awesome.
without internet connection it shows me this error:
Could not proxy request /api/users/signup from localhost:3000 to http://localhost:7000 (ENOENT).
the problem is that mot of my time I am offline.
The text was updated successfully, but these errors were encountered: