I have a problem with creating a new server in PgAdmin 4. I have server with the port 5432 as standard. Now I am trying to create a new server with port 5433. When I try to create the server I get the error: enter image description here

I don't now how to fix. The server is running on "localhost", but I don't now how to connect the TCP/IP on port 5433.

Thx for you help.

  • Well, do you have another instance of Postgres running that uses 5433? Sep 6 '19 at 7:32
  • Not as far as I now. I recently restored/formatted my computer to fabric settings. After that I did install Postgres weith the port 5433. But due to problems I had to remove it and reinstall with port 5432. So what I am guessing from you comment, it is this previously postgres, which is causing the problem? And do you now how to fix it? Sep 6 '19 at 7:41
  • If you don't have an instance running on port 5433, then why do you expect to be able to connect to it? If your running Postgres listens on 5432 then use that port. Sep 6 '19 at 7:48
  • The problem is that I have a lot of backups from before i formatted, which is running on 5433. That is why I need that port too. Sep 6 '19 at 8:05
  • If you want a second instance running on 5433 you need to initialize a new database cluster or just restore the backups to the instance running on 5432 Sep 6 '19 at 8:44

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.