PostgreSQL无法从服务器接收数据:软件导致连接中止(0x00002745/10053)

S. *_*rer 10 postgresql database-connection pgadmin psql server

我试图在pgAdmin中建立到PostgresSQL服务器的连接.我总是得到这样的信息:

could not receive data from server: Software caused connection abort (0x00002745/10053).
Run Code Online (Sandbox Code Playgroud)

我读了几篇人们遇到同样问题的帖子,但他们没有帮助我.

因为我的版本有点旧,所以我卸载了整个postgresql,并使用EnterpriseDB的安装程序(Windows 64上的PostgreSQL 9.6)安装了最新版本.一切都很好看.但我无法再次从pgAdmin 4连接到服务器.我收到相同的错误消息.

In the logfile is written: "An existing connection was forcibly closed by the remote host"
Run Code Online (Sandbox Code Playgroud)

有谁知道问题可能是什么?

S. *_*rer 1

对我来说,部分解决方案是每次使用 NET STOP 和 NET START 启动计算机后重新启动 postgresql-server。这很麻烦,但很有效。由于我的电脑还有其他连接问题,随后我将系统更新到Windows 10,完全解决了我的所有问题。