问题
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?'错误时,如何进行问题分析和解决。问题可能源于PostgreSQL服务关闭,解决方案包括重启服务。此外,还提供了类似问题的两种情况及应对策略。
最低0.47元/天 解锁文章
1861

被折叠的 条评论
为什么被折叠?



