{
  "id": "go/http-client-connection-refused",
  "signature": "dial tcp 127.0.0.1:8080: connect: connection refused",
  "signature_zh": "拨号 tcp 127.0.0.1:8080: 连接被拒绝",
  "regex": "dial\\ tcp\\ 127\\.0\\.0\\.1:8080:\\ connect:\\ connection\\ refused",
  "domain": "go",
  "category": "network_error",
  "subcategory": null,
  "root_cause": "The client attempted to connect to a server that is not listening on the specified address and port.",
  "root_cause_type": "generic",
  "root_cause_zh": "客户端尝试连接到未在指定地址和端口上监听的服务器。",
  "versions": [
    {
      "version": "1.18",
      "introduced": null,
      "deprecated": null,
      "removed": null,
      "behavior_change": null,
      "status": "active"
    }
  ],
  "os_specific": {},
  "dead_ends": [
    {
      "action": "",
      "why_fails": "If the server is down, retries will continue to fail.",
      "fail_rate": 0.8,
      "condition": "",
      "sources": []
    },
    {
      "action": "",
      "why_fails": "Subsequent operations will fail due to no connection.",
      "fail_rate": 0.9,
      "condition": "",
      "sources": []
    }
  ],
  "workarounds": [
    {
      "action": "",
      "success_rate": 0.95,
      "how": "resp, err := http.Get(url); if err != nil { log.Fatal(err) }",
      "condition": "",
      "sources": []
    }
  ],
  "workarounds_zh": [],
  "transition_graph": {
    "leads_to": [],
    "preceded_by": [],
    "frequently_confused_with": []
  },
  "official_doc_url": null,
  "official_doc_section": null,
  "error_code": null,
  "verification_tier": "ai_generated",
  "confidence": 0.9,
  "fix_success_rate": 0.8,
  "resolvable": "true",
  "first_seen": "2024-04-05",
  "last_confirmed": "2025-01-01",
  "last_updated": "2025-01-01",
  "evidence_count": 0,
  "tags": [],
  "locale": "en",
  "aliases": []
}