Poker Software
Results 1 to 1 of 1
  1. #1
    Tech Support Manager morny's Avatar
    Join Date
    Jul 2008
    Location
    Ireland
    Posts
    20,888

    Default Fix for PostgreSQL cannot start error 127.0.0.1

    If youve just recently had a problem where it says Failed to establish a connection to ‘127.0.0.1’ then its most likely due to an update microsoft released for defender. Please try the following to fix it

    1: Go to "C:\Windows\system32\drivers\etc" and open the "hosts" file with
    notepad

    It might look something like this:

    PHP Code:
    **************************************************
    # Copyright (c) 1993-2006 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

    ::1             localhost
    ****************************************************** 
    2: Enter "127.0.0.1 localhost" (without the quotes) at the bottom of the
    file, so it looks like this:

    PHP Code:
    **************************************************
    # Copyright (c) 1993-2006 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

    127.0.0.1       localhost
    ::1             localhost 
    ****************************************************** 


    3: If your host file has hundreds of lines (created by SpybotSearch&Destroy, remove all those lines!)
    4: Save the file
    5: Reboot your PC
    Last edited by fozzy71; 08-07-2009 at 02:24 PM. Reason: example of edited code

Similar Threads

  1. Replies: 47
    Last Post: 08-12-2011, 07:59 PM
  2. For those of you who can't get PostgreSQL to start
    By rtgoad in forum Manager General
    Replies: 4
    Last Post: 09-08-2010, 04:58 AM
  3. HM can't get PostgreSQL to start
    By Necrophecy in forum Manager General
    Replies: 11
    Last Post: 06-21-2010, 07:07 PM
  4. PostgreSQL Database server 8.2 will not start
    By K0TS in forum Manager General
    Replies: 3
    Last Post: 11-29-2008, 10:24 AM
  5. Error at Start Up - HM won't start
    By zook in forum Manager General
    Replies: 1
    Last Post: 09-01-2008, 06:41 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •