PgAdmin3:服务器不听

PgAdmin3: Server doesn't listen

我知道这是常见问题,但到目前为止我已经尝试了几乎所有方法(我在 Windows 8 上使用 3-1.18.1 版本的 pgadmin 并连接到 localhost:5432) : 1)我的主机文件包括行

127.0.0.1       localhost
::1             localhost

2) 我已尝试使用以下方法创建和加载 postgressql.conf:

port = 5432
listenaddresses='*'

3) 重新安装 pgadmin(起初我是用 1.20 尝试的)

4) 关闭我的 Windows 防火墙

5) 移动到另一个光盘,所以不会有一些权限被拒绝。 可悲的是,我以前也遇到过这个问题,但是在我做了一些关于数据库的工作之后,我已经完全重新安装了windows。不高兴我哪里出错了,提前致谢。

我傻了。我需要自己安装 postgresql 服务器。 正如有人提到的:

pgAdmin is only a client tool. It does not include the database server. It's the other way round: if you install the Postgres server you usually also get the pgAdmin client. – a_horse_with_no_name Jun 6 '14 at 11:40