Replies: 2 comments 5 replies
-
Does Px show any connection from curl in the debug output? Is it Px that is refusing the connection or does it not even get the request? I've not used WSL but wondering if there's any firewall involvement between the Windows and Linux sides. |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I run a Px instance on my Windows 10 with the following content in my
px.ini
filePx is working fine. Now I try to connect to the server has from within WSL (Ubuntu 16.04).
Within WSL, I have
~/.bashrc
file with the content as belowexport http_proxy="http://localhost:3128" export HTTP_PROXY="http://localhost:3128" export https_proxy="http://localhost:3128" export HTTPS_PROXY="http://localhost:3128" export no_proxy="localhost,127.0.0.1,::1,localhost*" export NO_PROXY="localhost,127.0.0.1,::1,localhost*"
All my proxy env vars (http_proxy, https_proxy, HTTP_PROXY, HTTPS_PROXY) are set to
http://localhost:3128
.However, when I run
curl www.google.com
on WSL, I get the errorcurl: (7) Failed to connect to localhost port 3128: Connection refused
My colleagues have the same configuration & everything works for them!
Beta Was this translation helpful? Give feedback.
All reactions