DB/Postgre

원격접속 허용하기

앤비 2012. 7. 5. 23:09

설치 폴더\data\pg_hba.conf 마지막 부분의

1
host all all 127.0.0.1/32 md5

1
host all all 192.168.0.1 255.255.255.0 trust

이런식으로 바꾼다.


설치 폴더\data\postgresql.conf 의
1
listen_addresses = 'localhost'
1
listen_addresses = '*'
로 바꾼다. 



그러고나서 서비스를 재시작한다.