CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Aug 2001
    Location
    Mumbai
    Posts
    30

    localhost Problem

    Hi,
    In the browser when i enter localhost(or 127.0.0.1) it gives error ,i have to enter full ip address to start home page or anything else.
    When i use localhost it gives error:
    ///////////////////////////
    HTTP 404 - File not found
    Internet Explorer
    ///////////////////////////
    Can anybody suggest on that








  2. #2

    Re: localhost Problem

    try with:

    http://127.0.0.l/
    http://localhost/

    ..but U have set a default page in your site??

    try with

    http://localhost/mydoc.html

    ?

    hi,brt

    <center>
    <HR width=80%>
    <img src='http://web.tiscali.it/bertaplanet/im...ertaplanet.gif'>
    </center>

  3. #3
    Join Date
    Aug 2001
    Location
    Mumbai
    Posts
    30

    Re: localhost Problem

    Hi,
    thanx for replying.
    Even if i enter only localhost(or 127.0.0.1) in browser default web site should automatically come.If i enter Ip address only, default web site automatically come on browser.
    Actually i have the IIS application which uses localhost to display asp page that it creates on browser.Here when i run my IIS application every time i have to change localhost to my ip address in browser.
    If you can suggest more on that??
    thanx.


  4. #4

    Re: localhost Problem

    I don't known if I undestand the problem... but look at

    C:\WINNT\system32\drivers\etc\HOST

    I have this entry...

    127.0.0.1 localhost

    <center>
    <HR width=80%>
    <img src='http://web.tiscali.it/bertaplanet/im...ertaplanet.gif'>
    </center>

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured