外部サーバーからのデータベースとの接続に問題があります。私はこの主題について多くのトピックを読みました。そして何も...
Postgresql 8.4 / Debian
私の/etc/postgresql/8.4/main/postgresql.conf :
listen_addresses = '*'
port = 5432
max_connections = 100
私の/etc/postgresql/8.4/main/pg_hba.conf :
local all all trust
host all all 127.0.0.1/32 trust
host all all ::1/128 trust
host all all 0.0.0.0/0 trust
netstat -nlp | grep 5432
tcp 0 0 0.0.0.0:5432 0.0.0.0:* LISTEN 6520/postgres
tcp6 0 0 :::5432 :::* LISTEN 6520/postgres
unix 2 [ ACC ] STREAM LISTENING 15338180 6520/postgres /var/run/postgresql/.s.PGSQL.5432
telnet localhost 5432
Trying 127.0.0.1...
Connected to localhost.localdomain.
しかし、自分のコンピューターから接続しようとすると、常に「接続の確立に失敗しました」というメッセージが表示されます。
私が間違っていることについて何か考えはありますか?:/助けてくれてありがとう:)