Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am able to ssh into my ubuntu server with a user name and password from the terminal. However, when I try to connect to the server using the same name and password via pgadmin, I am getting the following error:

could not connect to server: Operation timed out Is the server running on host "xx.xxx.xx.xxx" and accepting TCP/IP connections on port 5432?

Why am I able to connect through terminal but not pgadmin?

share|improve this question
    
Please show the command line used to connect to the server. –  S19N Oct 22 '12 at 22:17

1 Answer 1

Because your firewall is blocking port 5432, maybe? If port 22 is open, and port 5432 is not, that would be why.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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