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" (::1) and accepting TCP/IP connections on port 5432?

问题分析

PostgreSQL 服务关闭。(检查后发现我的pgadmin 3 缺失 msvcp120.dll,不懂和这有没有关系、未做深入研究。)

解决

重启service中的 PostgreSQL。

以上是我的解决方式,下面附上相似问题的解决方案。

1、Is the server running on host “localhost” (::1) and accepting TCP/IP connections on port 5432?
2、Is the server running on host “192.168.2.111” and accepting TCP/IP conn

你可能感兴趣的:(postgresql,connect,server,PostgreSQL)