我刚刚安装了 pgAdmin-4,并尝试连接到安装它的默认服务器(PostgreSQL 9.5)。它要求输入密码(我默认它是“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 5432? 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 5432?
我正在使用 Windows 7。
关于如何解决这个问题的任何想法?