Programming-[Backend]/Database

[TIL][PostgreSQL][에러] : connection to server at "localhost" (127.0.0.1), port 5432 failed: Connection refused (0x0000274D/10061) Is the server running on that host and accepting TCP/IP connections?

컴퓨터 탐험가 찰리 2022. 1. 20. 17:57
728x90
반응형

에러

 

 

해결

-참조1

윈도우의 경우, 작업 관리자에서 postgreSQL service가 실행되고 있는지 확인한다. 실행되지 않고 있다면 우클릭 해서 "시작" 하면 된다.

 

 

 

해결2

 

postgreSQL 설치 파일 내부에 postmanager.pid 파일이 postgreSQL을 종료했음에도 남아있다면, 삭제하면 된다.

 

 

 

 


 

참조1

https://stackoverflow.com/questions/40532399/unable-to-connect-to-server-for-postgres

728x90
반응형