pg_hba.conf 파일의 설정은 아래외 같이 설정하였습니다.
local all postgres peer
# TYPE DATABASE USER ADDRESS METHOD
# "local" is for Unix domain socket connections only
local all all trust
# IPv4 local connections:
host all all 0.0.0.0/0 trust
# pgAdmin4 접속을 위한 설정
host inventorysystem deploy ???.???.?.???/32 password
host all all 127.0.0.1/32 md5
# IPv6 local connections:
host all all ::1/128 md5
# Allow replication connections from localhost, by a user with the
# replication privilege.
#local replication postgres peer
#host replication postgres 127.0.0.1/32 md5
#host replication postgres ::1/128 md5
pgAdmin은 잘 접속 됩니다.
소스를 업로드한 후 다른 pc에서 사이트를 접속할 시 페이지는 잘 보입니다.
하지만 데이터를 입력하고 DB를 저장... submit버튼을 누르면
We're sorry, but something went wrong.
If you are the application owner check the logs for more information.
다음과 같은 메시지가 보여요 ... 설정에 문제가 있나요?
아니면 다른 곳에서 설정을 해줘야 하는건가요 ..
postgresql은 사용해본 적이 없어서 잘 모르겠어요... 구글링은 계속 해보는중이에요 유유
방법을 찾으면 해결방법을 올리겠습니다. 아시는 분은 댓글로 방법을 알려주시면 감사하겠습니다 ^^
|