Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 Jun 2005 06:59:00 -0400
From:      Gerard Seibert <gerard-seibert@suscom.net>
To:        John Brooks <john@day-light.com>
Cc:        FreeBSD Question <freebsd-questions@freebsd.org>
Subject:   Re[2]: Still trying to get my site up!
Message-ID:  <20050627065648.529E.GERARD-SEIBERT@suscom.net>
In-Reply-To: <NHBBKEEMKJDINKDJBJHGIEJJJHAD.john@day-light.com>
References:  <Pine.WNT.4.63.0506261904510.728@Treneq> <NHBBKEEMKJDINKDJBJHGIEJJJHAD.john@day-light.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sunday, June 26, 2005 8:47:41 PM "John Brooks" <john@day-light.com>
wrote:

$>do you have any kind of firewall? from the outside world port 9545
$>is closed. so either it is being blocked, you are not actually
$>listening on it, or there is no port forwarding on your gateway.
$>
$>run this on the box itself and post the output:
$>  netstat -na | grep LISTEN
$>
$>try to connect from another host on your network:
$>  http://192.168.0.4:9545
$>
$>then try:
$>  http://192.168.0.4:80
$>
$>--
$>John Brooks
$>john@day-light.com
$>
$>> -----Original Message-----
$>> From: owner-freebsd-questions@freebsd.org
$>> [mailto:owner-freebsd-questions@freebsd.org]On Behalf Of Gerard Seibert
$>> Sent: Sunday, June 26, 2005 6:07 PM
$>> To: freebsd-questions
$>> Subject: Still trying to get my site up!
$>>
$>>
$>> Thanks to several individuals, I have almost gotten my Apache2 server
$>> working. Almost, but not quite.
$>>
$>> My ISP blocks port 80; therefore I am using a redirect from DynDNS.org to
$>> redirect to an alias using port 9545.
$>>
$>> The 'beerstud.us' redirects to 'www2.beerstud.us:9545'
$>>
$>> >From my FreeBSD box, if I type: lynx http://beerstud.us, I see the
$>> following message: Using http://www2.beerstud.us:9545/. The connection is
$>> made and the index.htm file is displayed.
$>>
$>> However, I am unable to reach this site from any other computer.
$>> Eventually, the request will time out and I receive an error message
$>> telling me that the site is not available.
$>>
$>> I am not sure what I am doing wrong at this point. I have posted the
$>> following files if anyone feels ambitious enough to look them over for me.
$>>
$>> httpd.conf	 =	http://www.seibercom.us/FreeBSD/httpd.conf
$>>
$>> hosts		=	http://www.seibercom.us/FreeBSD/hosts
$>>
$>> This is the output from ifconfig -a
$>> net-card.txt	=	http://www.seibercom.us/FreeBSD/net-card.txt
$>>
$>> resolv.conf	=	http://www.seibercom.us/FreeBSD/resolv.conf
$>>
$>> The 'hosts' file has a pretty good description of my network in it. I
$>> double checked my router, and I believe it is configured
$>> correctly to pass
$>> port 9545 through.
$>>
$>> --
$>> Thanks!
$>>
$>> Gerard Seibert
$>> Gerard-seibert@suscom.net
$>>

********** Reply Separator **********
Monday, June 27, 2005 6:48:35 AM

The netstat -na | grep LISTEN command produces this output:

tcp4    0   0  *.139          *.*          LISTEN
tcp4    0   0  *.445          *.*          LISTEN
tcp4    0   0  *.901          *.*          LISTEN
tcp46   0   0  *.9545         *.*          LISTEN
tcp4    0   0  127.0.0.1.25   *.*          LISTEN

Both http://192,168.0.4:9545 goes to my site. The http://192.168.0.4:80
produces this error:

Looking up 192.168.0.4
Making HTTP connection to 192.168.0.4
Alert!: Unable to connect to remote host.

lynx: Can't access startfile http://192.168.0.4/

-- 
Gerard E. Seibert
gerard-seibert@suscom.net





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050627065648.529E.GERARD-SEIBERT>