PDA

View Full Version : Failed to establish connection...



TakenItEasy
01-29-2011, 11:54 AM
Started HM and got this message:

"The following error occurred when trying to open the database: Failed to establish a connection to '127.0.0.1'."


Trying to start PostgreSQL seperately gives me this error:

"System error 3 has occurred.
The system cannot find the path specified."

TakenItEasy
01-29-2011, 12:26 PM
ok I saw the sticky on failed to establish connection.

I changed the hosts file from this:

# Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host

# localhost name resolution is handled within DNS itself.

#127.0.0.1 localhost
#::1 localhost


To this:

# Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host

# localhost name resolution is handled within DNS itself.

127.0.0.1 localhost
::1 localhost

and rebooted.

It still has the same problem.

TakenItEasy
01-29-2011, 02:54 PM
System restore back a few days fixed it for now. Not sure what updates made it fail.