안녕하세요
현재 ci4와 postgresql 데이터베이스 연동 작업을 하고 있습니다.
postgresql 외부접속 허용 확인까지 하였는데 아래 메이시처럼 오류가 나옵니다,,
DSN으로도 해보고 env도 넣어서 해보고 App/DataBase.php 에도 넣어서 해보았는데도 똑같이 안됩니다
php7.4.29 버전, postgresql 12버전입니다.
아이피부분은 보안상 가렸습니다,,,,
어디가 문제일까요 ㅠ 서버환경은 레드햇이며 퍼미션 모두 777로 주어진 상태입니다.
CodeIgniter\Database\Exceptions\DatabaseException #8
Unable to connect to the database.Main connection [Postgre]: pg_connect(): Unable to connect to PostgreSQL server: could not connect to server: No route to hostIs the server running on host "아이피" and acceptingTCP/IP connections on port 5432?
앗 확인해보니 방화벽이 막혀있었네요,,
감사합니다!