Postgresql pgadmin4尝试连接到旧端口,但我的默认端口是5432-can';t登录
我无法登录到我的pgadmin4面板,我正在使用postgre12。 当我安装postgres时,我将默认端口设置为1111,但是 我将端口名更改为默认5432。我检查了postgresql.conf文件,默认端口仍然是5432 现在,当我转到pgadmin4并尝试使用登录时 用户名-postgres 密码-管理员或postgres 它给了我这个错误:Postgresql pgadmin4尝试连接到旧端口,但我的默认端口是5432-can';t登录,postgresql,Postgresql,我无法登录到我的pgadmin4面板,我正在使用postgre12。 当我安装postgres时,我将默认端口设置为1111,但是 我将端口名更改为默认5432。我检查了postgresql.conf文件,默认端口仍然是5432 现在,当我转到pgadmin4并尝试使用登录时 用户名-postgres 密码-管理员或postgres 它给了我这个错误: could not connect to server: Connection refused (0x0000274D/10061) Is
could not connect to server: Connection refused
(0x0000274D/10061) Is the server running on host "localhost"
(::1) and accepting TCP/IP connections on port 1111? 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 1111?
为什么它仍然引用这个旧端口1111?问题在于
PgAdmin4配置
转到server properties->connections
并将端口更改为5432
在Pgadmin中,转到服务器属性->连接
并将端口更改为5432
@Thirumal,thx u i deleted postgre并再次下载lool@Thirumal,奇怪的是,即使重新安装postgre,它仍然会给我同样的错误。我想问题在于PgAdmin4
配置不在PostgreSQL
@Thirumal中。你是对的!我在连接中看到端口为“1111”,我将其更改为5432并刚刚登录!