I am having some troubles configuring pgmodeler, particularly the Connections.

I put

Connection DB: postgres

Host/Port localhost 5432

User postgres


Could not connect to the database. Message returned: could not connect to server: No route to host Is the server running on host "5432" ( and accepting TCP/IP connections on port 5432?

I think there is something wrong with my idea. However, I just looked for the required information on the first page of pgadmin after logging into. Can someone explain me how to get the connection from pgmodeler to my postgres DB?

  • Is your DB up and running at all? Jul 12, 2014 at 13:42
  • Yes, I just use it via pgadminIII
    – Mamba
    Jul 12, 2014 at 13:56
  • I think the mistake concerns Host/Port...
    – Mamba
    Jul 12, 2014 at 13:59

1 Answer 1


I had ran into this problem and solved changing pg_hba.conf in this line

local    all            postgres        password
# IPv4 local connections:
host    all             all               password
# IPv6 local connections:
host    all             all             ::1/128                 password

changed the word ident to password. It worked for me!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.