Re: Setting up LocalHost and LocalNet
amb-Uxr6IM1mbv2TY6FTCsQk+9Bc4/[email protected] (Andrew M. Bishop) 14 Aug 2006 17:45:38 +0100
| Newsgroups | gmane.network.wwwoffle.user |
|---|---|
| Message-ID | <[email protected]> |
Micha <[email protected]> writes: > | address. If your domainname is lan1 then the name woody actually > | means woody.lan1, it is just a shortened version of it. > > /home mi: cat /etc/hosts | grep woody > 127.0.0.1 woody localhost > 192.168.1.2 woody.lan1 # localhost eth0 > > What's wrong with this setup ? It should be: 127.0.0.1 localhost 192.168.1.2 woody.lan1 woody This is how I have my computers set up and it is how the hosts(5) manual page shows an example hosts file: -------------------- man hosts -------------------- EXAMPLE 127.0.0.1 localhost 192.168.1.10 foo.mydomain.org foo 192.168.1.13 bar.mydomain.org bar 146.82.138.7 master.debian.org master 209.237.226.90 www.opensource.org -------------------- man hosts -------------------- Using a hosts file like this means that the same hosts file can be used on all computers. The hosts file should not be computer specific but describes the whole network. I don't know how this would explain the problem that you are seeing with the timeouts. A timeout of 2 minutes sounds like it is a connection timeout but from the log file we can see that WWWOFFLE has no open connections at the time. -- Andrew. ---------------------------------------------------------------------- Andrew M. Bishop amb-Uxr6IM1mbv2TY6FTCsQk+9Bc4/[email protected] http://www.gedanken.demon.co.uk/ WWWOFFLE users page: http://www.gedanken.demon.co.uk/wwwoffle/version-2.9/user.html