strange connection problem. - Mailing list pgsql-general

From Day, David
Subject strange connection problem.
Date
Msg-id 401084E5E73F4241A44F3C9E6FD79428011C3FA455@exch-01
Whole thread Raw
Responses Re: strange connection problem.  (Yves Dorfsman <yves@zioup.com>)
Re: strange connection problem.  ("David G. Johnston" <david.g.johnston@gmail.com>)
Re: strange connection problem.  (Adrian Klaver <adrian.klaver@aklaver.com>)
Re: strange connection problem.  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-general

I have a development site ( FreeBSD 10.1 and Postgres 9.3 )  where I can connect to the database via psql or pgadminIII both locally and remotely.

However, all of the local apps ( 3 different ones )  that would connect to it are failing to  connect.

 

I see no error events in the messages/postgres log files related to bad attempts.

I suspect something with name resolution,

The hosts, hosts.conf and resolv.conf files are set to resolv first via the hosts file

And the hostname and localhost are properly defined there.

 

The site installation did have some initial DNS setup issues.  However this command works fine locally.

“psql –U <role>  -h <hostname> database.

i.e. name resolution works locally fine for psql.

 

The problem does not go away on shutting down and starting up the system ( Virtual Machine )

 

Is there anything on the postgres side that might explain this situation ?

 

Will likely re-install and see if the problem goes away. ( build of the day problem ? )

It is an interesting puzzle at the moment.

 

 

 

Thanks

 

 

Dave

pgsql-general by date:

Previous
From: Dane Foster
Date:
Subject: Re: A question about PL/pgSQL DECLAREd variable behavior
Next
From: Yves Dorfsman
Date:
Subject: Re: strange connection problem.