# go: github.com/example/pkg@v0.1.0: reading https://proxy.golang.org/github.com/example/pkg/@v/v0.1.0.mod: dial tcp 216.58.194.113:443: connect: connection refused

- **ID:** `go/proxy-connection-refused`
- **Domain:** go
- **Category:** network_error
- **Verification:** ai_generated
- **Fix Rate:** 80%

## Root Cause

The Go module proxy is unreachable due to network issues, firewall blocks, or proxy downtime.

## Version Compatibility

| Version | Status | Introduced | Deprecated |
|---------|--------|------------|------------|
| 1.19 | active | — | — |
| 1.20 | active | — | — |
| 1.21 | active | — | — |

## Workarounds

1. **Use a different proxy or direct source.** (85% success)
   ```
   Set 'export GOPROXY=direct' to bypass the proxy and fetch directly from VCS.
   ```
2. **Configure a corporate proxy or VPN if behind a firewall.** (70% success)
   ```
   Set 'export GOPROXY=http://corporate-proxy:8080' or use 'https_proxy' environment variable.
   ```

## Dead Ends

- **Retrying with 'go get -u' which uses the same proxy.** — The proxy is still unreachable; retrying doesn't change network conditions. (90% fail)
- **Setting GOFLAGS=-insecure to ignore TLS errors.** — The error is connection refused, not TLS; this doesn't help. (80% fail)
