1

When I starting to connecting, I catch error:

psql: error: connection to server at "localhost" (::1), port 5432 failed: Connection refused (0x0000274D/10061)
            Is the server running on that host and accepting TCP/IP connections?
    connection to server at "localhost" (127.0.0.1), port 5432 failed: Connection refused (0x0000274D/10061)
            Is the server running on that host and accepting TCP/IP connections?

PostgreSQL can't start on Windows services. (On my PC installed Win10)

This solution didn't help - https://stackoverflow.com/a/27568135/17655569

Also I tried reinstall with this instruction (https://webkul.com/blog/postgresql-windows-installation-problem-running-post-install-step-installation-may-not-complete-correctly/), unfortunately, this method help before the first computer reboot

Maybe anybody occurred with the same problem?

  • Did you check the logfiles? Could you share it? – Frank Heikens Dec 15 '21 at 12:46
  • What is the error you get when you start Postgres? How do you start it? –  Dec 15 '21 at 12:56
  • 1) ВАЖНО: XX000: C:\Program Files\PostgreSQL\14\bin\postgres.exe: подходящий исполняемый файл postgres не найден ПОЛОЖЕНИЕ: getInstallationPaths, postmaster.c:1495 I have Russian Windows 10. Here written that suitable file postgres didn't find. – Zakhar Borisov Dec 15 '21 at 12:56
  • Active code page: 1251 Server [localhost]: Database [postgres]: Port [5432]: Username [postgres]: psql: error: connection to server at "localhost" (::1), port 5432 failed: Connection refused (0x0000274D/10061) Is the server running on that host and accepting TCP/IP connections? connection to server at "localhost" (127.0.0.1), port 5432 failed: Connection refused (0x0000274D/10061) Is the server running on that host and accepting TCP/IP connections? Press any key to continue . . . – Zakhar Borisov Dec 15 '21 at 12:58
  • I mean the postgresql logfiles, what does that tell you? – Frank Heikens Dec 15 '21 at 14:48
  • Oh, how can I get postgresql logfiles? Where there are exist? – Zakhar Borisov Dec 16 '21 at 02:52

0 Answers0