solved! Re: [Xitami] reply from localhost *sometimes* slow?
Dan Baker
xitami@lists.xitami.org
Sat, 28 Jul 2001 15:44:54 -0600
> At 10:12 AM 7/26/01 -0600, you wrote:
> >something I've been wondering for a while.... Sometimes when I request a
> >page that is on my //localhost, the browser takes several (2-10) seconds
> >to get a reply, but other times it is really speedy.
---
Craig wrote:
> Look for a file called HOSTS on your system, under Win98 it should be located
> in your C:\Windows\system32 directory (I think, its been a while for me under
> Win9x). There is a sample file called HOSTS.SAM that is an example file for
> HOSTS if you don't have it there already.
> At any rate, add the following line to your HOSTS file:
> 127.0.0.1 localhost
------
good idea, but the line already was in there... maybe added by the
xitami install?
"Thomas J. Hruska" wrote:
> Are you typing '//localhost' into the browser? If so, then you should note
> that it might be looking for a machine called 'localhost' using the NetBIOS
> protocol (hence the really long delays). Try the fully qualified
> 'http://localhost/' URL instead. Also try 'http://127.0.0.1/' as well.
=================
you're the winner Thomas... I checked my bookmarks, and they were indeed
entered as localhost/whatever. I changed to http://localhost/whatever,
and it seems to blaze right thru every time.
> Also, I don't see how you get out onto other servers if you don't have a
> gateway defined. I'll bet a gateway shows up if you run 'winipcfg' and
> select your network card. I would even bet you have DNS as well. DHCP is
> just a protocol to set up gateway, IP address, DNS server list, WINS, etc.
> information. DHCP just makes all of that transparent to you, but it can
> come in quite handy at times to know that information.
-------
yes DHCP does go out and set all that up. I was just trying to give the
parameters of how my protocols are set up. The DHCP sets the
router/firewall as a local gateway 192.168.0.1 and goes out and gets the
DNS and assigned IP address from @home.
thanx for your help!!
Dan