Localhost not working on WinAmpServer installation

Discussion in 'Apache' started by MikeSD, Apr 10, 2011.

  1. #1
    I have installed WinampServer and it has been working fine. However, the localhost has never worked. I just get a blank page, yet there is an actual page located at the root. Neither 127.0.0.1 or localhost works.

    My host file has:

    127.0.0.1 localhost
    ::1 localhost

    I'm not sure if the 2nd line is in error or normal. In any case, I can't modify it. I get an "access denied". I have removed the read only but still can't modify the file. Not even sure if I should.

    I'm using Vista and the hosts file is at: \windows\system32\drivers\etc\hosts

    Any idea why I can't use localhost or 127.0.0.1?
    Any idea why I can't modify the hosts file?
    Is the 2nd line there supposed to be there, for localhost?

    Mike
     
    MikeSD, Apr 10, 2011 IP
  2. MikeSD

    MikeSD Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Update: Found the reason. But not the solution...

    I was accessing "localhost" from the menu, in the icon tray. Also doesn't work in the URL field. However, it won't run from the icon tray because that entry for localhost expects the port to be 80. I have used a different port.

    Both

    localhost:XXXX and
    127.0.0.1:XXXX require the port to be specified.

    So, how can I correct the menu, in the icon tray, for Winamp, so that when I click localhost, it uses the correct port number vs. the default 80, which isn't used in my installation?

    Same question for phpMyAdmin?

    Thanks,
     
    MikeSD, Apr 10, 2011 IP