More to the point:
 
  telnet localhost 5432
 
on the box works to connect to port 5432 and postgres.
 
However,
 
 telnet fully-qualified-name-of-localhost 5432 
 
gets a Connection Refused.
 
The fix here was in postgresql.conf to update the 
 
  listen_addresses = '*' 
 
(for development only)
 
field appropriately (uncommenting it) and port = 5432 lines
and restarting postgresql with
 
  /etc/init.d/postgresql restart
 
then retesting with the above telnets...
 
Stuart
 

On Tuesday, October 15, 2013 2:32:10 PM UTC-7, Stuart Cracraft wrote:

> Notes with ++ are inlined.
>
> On Tuesday, October 15, 2013 11:18:49 AM UTC-7, Matthew Caron wrote:
>
>> On 10/15/2013 01:42 PM, Stuart Cracraft wrote: 
>> > TimeoutError: Unable to get database connection within 0 seconds. 
>> (OperationalError: could not connect to server: Connection refused 
>> >         Is the server running on host "ca-sna-pm01" and accepting 
>> >         TCP/IP connections on port 5432? 
>>
>> Have you answered its question? 
>>
>  
> Matthew: Of course. And to the affirmative. Stuart
>  
>
>> -- 
>> Matthew Caron, Software Build Engineer 
>> Red Lion Controls | www.redlion.net 
>> +1 (518) 877-5173 x138 office 
>>
>

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to