我在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?原因是什么?
发布于 2018-04-20 09:20:03
设置服务器时,将安装Plesk。
普列斯克有自己的防火墙,否认了这一连接。在允许之后,它工作得完美无缺。
https://stackoverflow.com/questions/49921200
复制相似问题