Date: Mon, 29 May 2006 15:59:40 +0800 From: "GiL Virtucio" <gil@asol.com.ph> To: "Malcolm Fitzgerald" <mfitzgerald@pacific.net.au> Cc: freebsd-questions@freebsd.org Subject: Re: troubleshooting network settings Message-ID: <002401c682f5$d8060770$1403afcb@louigi> References: <ec8aa3d06887e2834adccfe00c62cc49@pacific.net.au><447A471C.9010402@cty-net.ne.jp> <7add8fd7934116927f294cd5f8a37e14@pacific.net.au>
next in thread | previous in thread | raw e-mail | index | archive | help
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" <mfitzgerald@pacific.net.au> To: "freebsd-questions@FreeBSD. ORG" <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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?002401c682f5$d8060770$1403afcb>