Proxy 12345 〈8K 2026〉
export https_proxy="http://proxy:12345" curl https://api.github.com And you get: curl: (7) Failed to connect to proxy port 12345: Connection refused
Because the hostname proxy doesn't exist, or nothing is listening on port 12345 .
export HTTP_PROXY="http://proxy.local:12345" proxy 12345
October 26, 2023 Category: DevOps & Networking
You paste a config into your terminal:
If you’ve ever dug through a legacy curl command, a Docker environment variable, or a scattered ~/.bashrc file, you’ve probably stumbled across a cryptic string like this:
Or maybe you saw the raw log line: "proxy 12345" . export https_proxy="http://proxy:12345" curl https://api
Decoding the Config: What Does “Proxy 12345” Actually Mean?