PostgreSQL could not receive data from server: Software caused connection abort (0x00002745/10053)

S. Maurer picture S. Maurer · May 5, 2017 · Viewed 13.6k times · Source

I tried to establish a connection in pgAdmin to the PostgresSQL server. I always get the message:

could not receive data from server: Software caused connection abort (0x00002745/10053).

I read several posts where people had the same problem but they didn't help me.

Because my version was a bit older I uninstalled the whole postgresql and installed the newest version with the installer of EnterpriseDB (PostgreSQL 9.6 on windows 64). Everything looks fine. But I can't connect to the server from pgAdmin 4 again. I get the same error message.

In the logfile is written: "An existing connection was forcibly closed by the remote host"

Has anybody a clue what the problem could be?

Answer

S. Maurer picture S. Maurer · May 15, 2017

A partial solution for me was to restart the postgresql-server each time after booting up my computer with NET STOP and NET START. This was cumbersome but worked. Because my computer still had other connection problems, subsequently I updated my system to Windows 10 which totally solved all my problems.