Re: Do you use HOSTS file ?

From: Lars M. Hansen (badnews_at_hansenonline.net)
Date: 07/28/04

  • Next message: Thor Kottelin: "Re: Do you use HOSTS file ?"
    Date: Wed, 28 Jul 2004 00:16:33 GMT
    
    

    On 27 Jul 2004 08:03:09 -0600, Craig Macbride spoketh

    >* If your local machine doesn't run a web server, the references to
    >127.0.0.1 will take ages to time out, quite possibly taking longer
    >than just loading the ad banners in the first place!

    No it won't. That will only happen if you are running a software
    firewall on your desktop that for some reason are quietly dropping
    connection attempts to localhost. Normally, connections from localhost
    to localhost on a closed port will result in a quick RST, not a slow
    timeout.

    >* If you get around this by pointing those hosts entries at the closest
    >web server instead, such as your ISP's web server, that's even kludgier,
    >and has to be changed whenever you change ISPs.

    See above.

    >* If your local machine does run a web server, pages may not display
    >nicely with missing parts.
    >

    image tags and embedded objects should have the size of the image/object
    specified, in which case it doesn't matter if the object or image is
    loaded. The browser will simply set aside an area of the proper size on
    the page and not load the object...

    Lars M. Hansen
    www.hansenonline.net
    Remove "bad" from my e-mail address to contact me.
    "If you try to fail, and succeed, which have you done?"


  • Next message: Thor Kottelin: "Re: Do you use HOSTS file ?"

    Relevant Pages

    • Re: Do you use HOSTS file ?
      ... Normally, connections from localhost ... >web server instead, such as your ISP's web server, that's even kludgier, ... >and has to be changed whenever you change ISPs. ... image tags and embedded objects should have the size of the image/object ...
      (comp.security.firewalls)
    • Re: Retrieving Date & Time from a web server (localhost)
      ... to retrieve Date & Time from a web server, ... but firstly I need to to test it on my PC, with "localhost" ... Any attempt fail. ... but if I locally tested it, writing "localhost", ...
      (microsoft.public.dotnet.framework.aspnet)
    • Re: Cannot access localhost under Windows XP Service Pack 2
      ... with this setting I can access simple html with localhost. ... "Visual Studio cannot create or open the application because the Web server ... Or is the event log ... >> I also deactivated the Windows Firewall and rebooted the system, ...
      (microsoft.public.inetserver.iis)
    • vs2005 debugging on ws2k3 server
      ... I get the error "Unable to start debugging on the web server. ... good for localhost so they must be for any site on the local machine. ... NETWORK SERVICES and my user account - to no avail. ...
      (microsoft.public.dotnet.framework.aspnet)
    • Re: Retrieving Date & Time from a web server (localhost)
      ... to retrieve Date & Time from a web server, ... but firstly I need to to test it on my PC, with "localhost" ... using the following VB Net API ... but if I locally tested it, writing "localhost", ...
      (microsoft.public.dotnet.framework.aspnet)