Texonom
Texonom
/
Engineering
Engineering
/Data Engineering/DataBase/Database Type/RDBMS/PostgreSQL/PostgreSQL Error/
Postgresql not connect to server: Connection refused
Search

Postgresql not connect to server: Connection refused

Creator
Creator
Seonglae Cho
Created
Created
2021 May 7 3:24
Editor
Editor
Seonglae Cho
Edited
Edited
2021 May 7 3:25
Tags
Tags

postgres.conf

 

pg_hab.conf

host all all 0.0.0.0/0 md5
 
and restart
 
 
PostgreSQL 원격 접속 시 could not connect to server: Connection refused 에러 해결법
현재 나는 PostgreSQL를 GUI로 편하게 관리하기 위해 Postico라는 Mac 전용 툴을 사용하고 있다. Postico를 통해 AWS EC2 서버의 Ubuntu 14.04 환경에서 돌아가고 있는 PostgreSQL에 connect를 시도하자 아래와 같이 접근이 거부되었다. 이를 해결하기 위해선 기본적으로 돼있는 PostgreSQL의 설정들을 좀 변경해주어야 한다. 먼저 아래의 경로로 접속하여 postgresql.conf 파일을 연다(Ubuntu
PostgreSQL 원격 접속 시 could not connect to server: Connection refused 에러 해결법
https://jupiny.com/2016/12/13/could-not-connect-to-server-connection-refused-when-remote-access-to-postgresql/
PostgreSQL 원격 접속 시 could not connect to server: Connection refused 에러 해결법
 
 
 
 

Recommendations

Texonom
Texonom
/
Engineering
Engineering
/Data Engineering/DataBase/Database Type/RDBMS/PostgreSQL/PostgreSQL Error/
Postgresql not connect to server: Connection refused
Copyright Seonglae Cho