외부 접속1 wsl-unbuntu 에서 설치된 postgresql 외부에서 접속하기 1. postgresql 를 설치한다. 2. 파일을 수정한다. postgresql.conf 파일 수정:postgresql.conf 파일을 엽니다. 일반적으로 /etc/postgresql//main/postgresql.conf에 위치합니다: postgresql.conf 파일에서 listen_addresses를 찾아서 '*'로 설정하여 모든 IP 주소에서의 연결을 허용합니다:listen_addresses = '*' 2-2pg_hba.conf 파일 수정:pg_hba.conf 파일을 엽니다. 일반적으로 /etc/postgresql//main/pg_hba.conf에 위치합니다:pg_hba.conf에서 외부 IP의 접속을 허용하는 규칙을 추가합니다:host all all .. 2024. 7. 12. 이전 1 다음