我已经从Docker在vmware centos8上安装了dpage / pgadmin4(port:5050
)。
我的数据库postgis(version:11.2-1
,port:5432
)也在docker上运行。
现在我可以使用navicat连接我的postgis,但pdadmin4不起作用。
我有这个:
Unable to connect to server:
could not connect to server: Permission denied Is the server running on host "172.17.0.1" and accepting TCP/IP connections on port 5432?
或:
Unable to connect to server:
could not connect to server: Permission denied Is the server running on host "xxxx.xxxx.xxx.xxxx"(centos ip) and accepting TCP/IP connections on port 5432?
我尝试了从stackoverflow
开始的方法,但是没有用。