嗨,我想用PostgreSQL做一个学校项目,每当我在Pg Admin中打开服务器时,我就会遇到同样的问题。
当我第一次打开Pg Admin时,我输入了我在安装中输入的密码,当我单击to server(1)它需要用户"postgres“的密码时,我使用相同的密码,但它告诉我:
could not connect to server: Connection refused (0x0000274D/10061) Is the server running on host "localhost" (::1) and accepting TCP/IP connections on port 1500? could not connect to server: Connection refused (0x0000274D/10061) Is the server running on host "localhost" (127.0.0.1) and accepting TCP/IP connections on port 1500?我不知道这到底是什么意思..。因为我对数据库和服务器很陌生
我在Windows10中使用PostgreSQL12和PGAdmin-4
救命啊!!还有谢谢你!
发布于 2020-11-07 06:48:47
在窗户上:
发布于 2021-06-22 20:26:07
我也面临着同样的问题,当我编辑端口到5432时,它开始工作了。在我的例子中,Postgres运行在5433上,我将其更改为5432。
发布于 2020-07-11 15:50:03
可以肯定的是,这一问题是由以下原因造成的:
... accepting TCP/IP connections on port 1500
Postgres默认在端口5432上运行。尝试将端口设置更改为5432。
https://stackoverflow.com/questions/62849153
复制相似问题