UbuntuサーバーにPostgres10.3サーバーをインストールしています。
ラップトップからPGAdminからアクセスできるようにするために常に十分であった必要な設定を行いましたが、今回は機能しません。
次の手順を試しました。
listen_addresses = '*'
host all all 0.0.0.0/0 trust
ufw allow 5432
Postgresql restarted
Server rebooted
Server pinged with success
Restarted the VPN-Client
direct IP instead of VPN-IP
disabled IPTABLES
ローカルでサーバーに接続できますが、リモートがまだ機能していません。
接続しようとすると、postgresがブロックしているようには見えませんが、以前は次のようなことがあります。
Unable to connect to server:
could not connect to server: Connection timed out (0x0000274C/10060)
Is the server running on host "10.8.0.50" and accepting
TCP/IP connections on port 5432?
理由は何ですか?
サーバーのセットアップ時に、Pleskがインストールされました。
Pleskには独自のファイアウォールがあり、接続を拒否していました。それを許可した後、それは完璧に機能しました。
この記事はインターネットから収集されたものであり、転載の際にはソースを示してください。
侵害の場合は、連絡してください[email protected]
コメントを追加