Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

problems locating localhost - asks for connection to internet

Options
  • 23-06-2003 11:14pm
    #1
    Closed Accounts Posts: 132 ✭✭


    I have installed Apache server on my windows pc just so I can develop websites on my computer and can move them onto the web easily.

    I used PHPtriad - which installs apache server, php, sql and phpmyadmin.

    The problem is, I can't goto the server itself (http://localhost) because everytime I try to IE opens the dialer up. The I get a 500 error.

    It did work on my other computer (before it died).

    Can someone help me?

    Cheers.
    Dave


Comments

  • Moderators, Recreation & Hobbies Moderators, Science, Health & Environment Moderators, Technology & Internet Moderators Posts: 91,900 Mod ✭✭✭✭Capt'n Midnight


    Tools - internet options - connections
    change to never dial - it's probably on Always dial

    also in the dos prompt you can test
    ping localhost
    ping 127.0.0.1

    ipconfig
    (Start - run - winipcfg)

    in IE
    http://127.0.0.1:80

    Another way of doing things is to install a M$ loopback adaptor in the network settings and assign it a static IP address and then call it in IE - but that's messy...


  • Registered Users Posts: 2,736 ✭✭✭niallb


    You might need to create a hosts file in your windows directory.

    While you're at the DOS prompt (if you have one), go to c:\windows or wherever.
    edit hosts
    and just add the one line

    127.0.0.1 localhost

    You can use notepad, but you have to tell it save as *.* All Files, or it'll assume you wanted the file to be hosts.txt.

    On winnt derived systems, I think it's
    C:\winnt\system32\drivers\etc or similar.
    Look for a folder called etc and put it there.
    2¢ worth only,
    NiallB


Advertisement