Women in Technology

Hear us Roar



Article:
  Apache Web-Serving with Mac OS X: Part 1
Subject:   Localhost works, 127.0.0.1 does not?
Date:   2002-10-29 16:14:21
From:   anonymous2
When I try http://localhost my webpage is displayed. However when I try http://127.0.0.1 I get
(111) Connection refused
The same apllies when opening my user webpage:
http://localhost/~username/ works but http://127.0.0.1/~username/ does not. What gives?


HS.

Main Topics Oldest First

Showing messages 1 through 3 of 3.

  • Localhost works, 127.0.0.1 does not?
    2003-08-11 22:47:55  anonymous2 [View]

    edit your httpd.conf file. replace all instances of localhost with 127.0.0.1
    i needed to do this to allow cookies to be set properly and referrer as well for dev purposes. loacalhost will no longer be recongnized but for my purposes i never use localhost anyway.
    hth
    regards,
    dan
  • Localhost works, 127.0.0.1 does not?
    2003-01-28 10:53:40  smoore [View]

    If you use an http proxy then make sure that you've entered 127.0.0.1 in the "bypass proxy settings" edit box at the bottom of the "Proxies" tab in Network Preferences
  • Localhost works, 127.0.0.1 does not?
    2002-11-07 05:26:50  anonymous2 [View]

    Me too, exactly the same thing. Does anybody have any suggestions on this one? Thanks.

    --c.