Unable to login to database: Connection refused (localhost)

Experiencing technical difficulties? Think you've found a problem with PokerTracker 3? Report it here.

Moderator: Moderators

Unable to login to database: Connection refused (localhost)

Postby XanderVerhaal » Mon Dec 15, 2008 4:33 am

Hi,
im using PT3 (not registered yet) and also PT2 (that one is registered). When I start PT3 I get the following message:

Uable to login to database (PT3 DB). reason: Could not connect to server: Connection refused (0x0000274D/10061). Is the server running on host "localhost"?

I searched the forums for this message and came back with: Stop the service and then start the service for PostgreSQL. But that is clearly not the solution...

Anyone?

Thx
Xander
XanderVerhaal
 
Posts: 11
Joined: Mon Nov 10, 2008 12:39 am

Re: Unable to login to database: Connection refused (localhost)

Postby kraada » Mon Dec 15, 2008 11:41 am

That error does mean that PostgreSQL isn't running properly. You can check to see if PostgreSQL is running by pressing ctrl+alt+del and clicking Task manager, then going to the processes tab. If PostgreSQL is running you'll see at least 6 postgres processes. If PostgreSQL isn't running, try disabling your firewall and restarting PostgreSQL; a misconfigured firewall can cause PostgreSQL to not start properly.
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: Unable to login to database: Connection refused (localhost)

Postby XanderVerhaal » Thu Jan 15, 2009 6:03 pm

Hello,
thx for your reply. I did what you said, and turned the firewall on (it was off...). But still the same problem.
If I have to make a new DB I don;t mind, could that solve the problem. Any other suggestions?
I reaaly want to use PT3...

Thx

Xander Verhaal
XanderVerhaal
 
Posts: 11
Joined: Mon Nov 10, 2008 12:39 am

Re: Unable to login to database: Connection refused (localhost)

Postby kraada » Thu Jan 15, 2009 6:08 pm

You shouldn't need to make a new database the real question is what's keeping your current database from running.

If you click Start --> Programs --> PostgreSQL --> Start Services, then press ctrl+alt+del and go to the taskmanager, do you see any postgres processes there?
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: Unable to login to database: Connection refused (localhost)

Postby 2B Malicious » Fri Jan 16, 2009 9:45 am

I am having the same problem...does anyone have a solution for this?
2B Malicious
 
Posts: 4
Joined: Thu Jan 15, 2009 10:56 pm

Re: Unable to login to database: Connection refused (localhost)

Postby kraada » Fri Jan 16, 2009 12:48 pm

Do you have PostgreSQL running when you check as I described in my last post?
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: Unable to login to database: Connection refused (localhost)

Postby 2B Malicious » Fri Jan 16, 2009 2:00 pm

I followed the advice above and those processes are still not displayed the Task Manager...
2B Malicious
 
Posts: 4
Joined: Thu Jan 15, 2009 10:56 pm

Re: Unable to login to database: Connection refused (localhost)

Postby kraada » Fri Jan 16, 2009 2:09 pm

In that case something is preventing the database server from starting up. Please try disabling your firewall and if you're running McAfee, disable that temporarily and see if you can get PostgreSQL to start properly then.

PostgreSQL needs full access (incoming and outgoing) to port 5432 in order to function properly.
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: Unable to login to database: Connection refused (localhost)

Postby 2B Malicious » Fri Jan 16, 2009 2:13 pm

The Firewall was off (per the instructions above).
2B Malicious
 
Posts: 4
Joined: Thu Jan 15, 2009 10:56 pm

Re: Unable to login to database: Connection refused (localhost)

Postby kraada » Fri Jan 16, 2009 2:34 pm

In that case please zip up and attach the 5 most recent files located in C:\Program Files\PostgreSQL\8.3\data\pg_log to a support ticket and we'll look further into what could be causing this for you.
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Next

Return to Technical Support / Bug Reports [Read Only]

Who is online

Users browsing this forum: No registered users and 0 guests