Still trying to get my site up!

Gerard Seibert gerard-seibert at suscom.net
Mon Jun 27 10:59:02 GMT 2005


On Sunday, June 26, 2005 8:47:41 PM "John Brooks" <john at 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 at day-light.com
$>
$>> -----Original Message-----
$>> From: owner-freebsd-questions at freebsd.org
$>> [mailto:owner-freebsd-questions at 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 at 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 at suscom.net




More information about the freebsd-questions mailing list