connection refused / ECONNREFUSED 127.0.0.1 30초 진단 런북
'connection refused'·'ECONNREFUSED 127.0.0.1' 에러를 30초에 분기하는 4단계 런북. 서버 미기동·포트 불일치·방화벽·바인드 주소(127.0.0.1 vs 0.0.0.0)를 복붙 명령으로 진단하고 curl·Node·Go·psql 케이스까지 정리했습니다.
6월 27일5분 읽기
kubectl get endpoints <none>·Service connection refused 5분 진단
Kubernetes Service에 connection refused·no endpoints가 뜬다면 Endpoints가 비어있는 게 원인입니다. selector 불일치, label 오타, targetPort, Readiness 실패까지 6가지 원인을 kubectl 한 줄로 5분 만에 진단하는 법을 정리했습니다.
6월 17일6분 읽기
docker compose depends_on이 DB를 안 기다릴 때 — healthcheck로 connection refused 해결
depends_on을 걸어도 앱이 connection refused로 죽나요? depends_on이 시작 순서만 보장하는 이유와 healthcheck + condition: service_healthy로 준비 완료까지 보장하는 법을 Postgres·MySQL·Redis·HTTP 복붙 예제로 정리했습니다.
6월 14일5분 읽기