127.0.0.1 is not proxied by default, but localhost is
#not work for localhost
$curl https://localhost:8443 --insecurecurl: (35) TLS connect error: error:0A000126:SSL routines::unexpected eof while reading
#work for 127.0.0.1
$curl https://127.0.0.1:8443 --insecureKiada version 0.2. Request processed by "kiada-ssl". Client IP: ::ffff:127.0.0.1
#I have https_proxy in the env virable, which cause the problem
export NO_PROXY="localhost"
export no_proxy=$NO_PROXY
#work for localhost now
$curl https://localhost:8443 --insecureKiada version 0.2. Request processed by "kiada-ssl". Client IP: ::ffff:127.0.0.1
Top comments (0)
Subscribe
We're a place where coders share, stay up-to-date and grow their careers.
Top comments (0)