Last active
April 13, 2020 07:07
-
-
Save seedevk8s/193df864b22370ef96edf67224e1a0e0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| https://www.smoh.kr/102 | |
Author
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
pg_hba.conf파일은 pgsql 설치폴더의 data폴더 내부에 존재합니다.
이 파일을 열어 # IPv4 local connections: 아래에 다음 내용을 추가해 줍시다.
host all all 0.0.0.0/0 md5
postgresql.conf파일은 pgsql 설치폴더의 data폴더 내부에 존재합니다.
이 파일을 열어 listen_addresses항목과 port항목을 확인합니다.
위의 단계에서 확인한 포트를 방화벽에서 열어줍니다.
3.1. 제어판의 시스템 및 보안 항목에서 방화벽으로 이동합니다.
3.2. 좌측의 고급설정을 클릭합니다.
3.3. 인바운드 규칙에 새 규칙을 추가합니다.
3.3.1. 포트를 선택합니다
3.3.2. TCP에 적용되며 특정 로컬포트에 위에서 확인한 포트를 입력합니다.
3.3.3. 연결허용을 선택합니다.
3.3.4. 도메인, 개인, 공용을 선택합니다.
3.3.5. 원하는 이름 및 설명을 입력하고 완료합니다.
pgAdmin을통해 DB를 재시작합니다.
설치된 pgSql을 우클릭해 Reload Configuration을 클릭합니다
출처: https://www.smoh.kr/102 [Simple is Beautiful.]