Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 19 Feb 2007 16:26:07 -0600
From:      Kevin Kinsey <kdk@daleco.biz>
To:        Drew Jenkins <drewjenkinsjr@yahoo.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: How Do I Surf To My Server?
Message-ID:  <45DA23FF.5080208@daleco.biz>
In-Reply-To: <67400.95858.qm@web62201.mail.re1.yahoo.com>
References:  <67400.95858.qm@web62201.mail.re1.yahoo.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
Drew Jenkins wrote:
>> Will this help?
>>
>> $ ifconfig vr0
> <snip>
>> And on a Windows Laptop:
>>
>> C:\> more c:\windows\system32\drivers\etc\hosts
> <snip>
> 
> 
> Yes, that is a start. I added the domain "mercury.com" (a site 
 > I never visit) and pointed it to 192.168.1.255, the IP address
> given from the above. I also updated pound to use that 
 > address, and was able to get the pound daemon running.

> However, I cannot surf to either mercury.com or the IP address. When I run this command:
> nmap localhost
> I discover that no Web ports are open: neither 80, nor 8080 (Zope), whose daemon is running. 
> nmap 192.168.1.255
> doesn't return any ports, stating it seems the host is down. 
> nmap 192.168.1.130
> the other address returned from your ifconfig command, gives the same ports as above. Please advise.
> TIA,
> Drew
> 

Note that "vr0" is simply one interface on *my* machine.  You should use 
"ifconfig" with no arguments to see all interfaces on the FBSD box, and 
it's probably not PLIP, Loopback, PPP, etc. that you're interested in.

Use "netstat -anf inet" on the server and see if port 80 or 8080 is 
"LISTENING", and on what address.  If the server is LISTENING on the 
FBSD box on the correct ports, but nmap doesn't show it, then I would 
assume a firewall problem, but I'm not "on the ground" there.  If you do 
see a LISTENING entry, use that interface (assuming it's Ethernet and 
one that it accessible from your laptop) as the entry in the laptop's 
hosts file.

192.168.1.255 is a broadcast address and should not be used for the 
configuration of a webserver (is that what "pound daemon" is?  Think so, 
can't remember previous mail at this point).

HTH,

KDK

-- 
The full impact of parenthood doesn't hit you until you multiply the
number of your kids by thirty-two teeth.



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?45DA23FF.5080208>