PDA

View Full Version : Failed to establish a connection to "127.0.0.1"



z1pz0r
05-12-2012, 08:33 AM
Hi,

I have PostgreSql 9.1 and latest version of Holdem manager 1.

When i start HEM it says: "the following error occured when trying to open the database: Failed to establish a connection to "127.0.0.1"
When i press ok there comes up a window where i can enter a server name a port number a login name and a password.
There if I click connect, it fails to connect again.

Help please.

Patvs
05-13-2012, 12:17 AM
Turn on the secondary Logon. The secondary logon service is a standard windows service which is available on every windows computer. In the latest versions it is not started automatically. You need to start it via control panel > administrative tools > services. Starting it once should insure it works in the future also.


This is usually a firewall or windows update issue.

First try to reboot.

If no help, try this:

Start > Programs > PostgreSQL > 8.x > Stop Service

Start > Programs > PostgreSQL > 8.x > Start Service

If that doesnt help delete the \postgresql\8.x\data\postmaster.pid file, if you see it. And reboot.


If that doesn't help you will have to reinstall PostgreSQL completely
Try installing SQL 8.2 port 5433: hhttp://ftp.postgresql.org/pub/binary/v8.2.22/win32/postgresql-8.2.22-1.zip