From owner-freebsd-questions@FreeBSD.ORG Mon Feb 19 22:26:33 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8BD4816E39F for ; Mon, 19 Feb 2007 22:26:33 +0000 (UTC) (envelope-from kdk@daleco.biz) Received: from ezekiel.daleco.biz (southernuniform.com [66.76.92.18]) by mx1.freebsd.org (Postfix) with ESMTP id EEC8513C47E for ; Mon, 19 Feb 2007 22:26:27 +0000 (UTC) (envelope-from kdk@daleco.biz) Received: from [192.168.2.2] (archangel.daleco.biz [69.27.145.126]) by ezekiel.daleco.biz (8.13.4/8.13.1) with ESMTP id l1JMQDKU068857; Mon, 19 Feb 2007 16:26:19 -0600 (CST) (envelope-from kdk@daleco.biz) Message-ID: <45DA23FF.5080208@daleco.biz> Date: Mon, 19 Feb 2007 16:26:07 -0600 From: Kevin Kinsey User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.8.0.9) Gecko/20070207 SeaMonkey/1.0.7 MIME-Version: 1.0 To: Drew Jenkins References: <67400.95858.qm@web62201.mail.re1.yahoo.com> In-Reply-To: <67400.95858.qm@web62201.mail.re1.yahoo.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: How Do I Surf To My Server? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 Feb 2007 22:26:33 -0000 Drew Jenkins wrote: >> Will this help? >> >> $ ifconfig vr0 > >> And on a Windows Laptop: >> >> C:\> more c:\windows\system32\drivers\etc\hosts > > > > 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.