Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

problems locating localhost - asks for connection to internet

  • 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: 96,008 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, Registered Users 2 Posts: 2,780 ✭✭✭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