From owner-freebsd-questions@FreeBSD.ORG Mon May 29 07:58:23 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 890A116A615 for ; Mon, 29 May 2006 07:58:23 +0000 (UTC) (envelope-from gil@asol.com.ph) Received: from mail.asol.com.ph (mx1.asol.com.ph [203.190.72.164]) by mx1.FreeBSD.org (Postfix) with SMTP id A364D43D48 for ; Mon, 29 May 2006 07:58:21 +0000 (GMT) (envelope-from gil@asol.com.ph) Received: (qmail 1433 invoked by uid 1010); 29 May 2006 07:50:33 -0000 Received: from 203.175.3.20 by mail.asol.com.ph (envelope-from , uid 1008) with qmail-scanner-1.25-st-qms (clamdscan: 0.88/1356. spamassassin: 3.1.1. perlscan: 1.25-st-qms. Clear:RC:1(203.175.3.20):. Processed in 0.506717 secs); 29 May 2006 07:50:33 -0000 X-Antivirus-ASPI-Mail-From: gil@asol.com.ph via mail.asol.com.ph X-Antivirus-ASPI: 1.25-st-qms (Clear:RC:1(203.175.3.20):. Processed in 0.506717 secs Process 1427) Received: from iceman.onsite.at.pccb.com.ph (HELO louigi) (gil@asol.com.ph@203.175.3.20) by mail.asol.com.ph with SMTP; 29 May 2006 07:50:32 -0000 Message-ID: <002401c682f5$d8060770$1403afcb@louigi> From: "GiL Virtucio" To: "Malcolm Fitzgerald" References: <447A471C.9010402@cty-net.ne.jp> <7add8fd7934116927f294cd5f8a37e14@pacific.net.au> Date: Mon, 29 May 2006 15:59:40 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Cc: freebsd-questions@freebsd.org Subject: Re: troubleshooting network settings 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, 29 May 2006 07:58:29 -0000 There are a myriad of factors that could have caused those services to be inaccessible. First try to check if those services are running. Try sockstat -4 [gihl@BoK]~> sockstat -4 USER COMMAND PID FD PROTO LOCAL ADDRESS FOREIGN ADDRESS root httpd 504 30 tcp4 *:80 *:* root sshd 474 3 tcp4 *:22 *:* if you don't see that :80 and :22 entry at the "LOCAL ADDRESS" column those services might not be running. If they are not running and you are sure that you have already installed apache from the ports collection, check your /etc/rc.conf file if you have these entries: sshd_enable="YES" apache_enable="YES" If they are both running this could be a problem in the configuration of your firewall. Also check the /etc/hosts file if you have an entry for your localhost. Maybe you're computer cannot open those services because your computer couldn't resolve the ip address of your localhost :) If it is still not working. hmmm. try to verify if the firewall is really the one causing the problem. Add the following line in your /etc/rc.conf file firewall_enable="YES" firewall_type="OPEN" if it works. change the firewall type to something more secure.. customize the /etc/rc.firewall and set the firewall_type to which ever setting you think would fit your needs :) hope this helps :) ======================================= Gil A. Virtucio Janitor/Kolektor/Messenger/Driver Asia Solution Phillippines Inc. 28/F Antel Global Corporate Center 3 Doņa Julia Vargas Avenue, Ortigas Center, Pasig Mobile # : +63-916-3989695 ======================================= ----- Original Message ----- From: "Malcolm Fitzgerald" To: "freebsd-questions@FreeBSD. ORG" Sent: Monday, May 29, 2006 9:48 AM Subject: Re: troubleshooting network settings > > Malcolm Fitzgerald wrote: > >> I am running freeBSD v6.0 security on a home network behind an adsl > >> router. > >> I cannot connect to localhost from a browser (apache is running!) > >> I cannot connect to localhost port 22 (KPackage tries to use ssh) > >> What can cause these problems? How can I troubleshoot them? > >> I am very new to freeBSD, so part of my question is "where do I > >> begin?". I have a copy of Complete freeBSD beside me but can't get > >> the magical incantations right. Suggestions appreciated.