Re: [gentoo-user] Need help with apache2 setup
On Thu, 2005-02-17 at 11:12 -0800, Ian Truelsen wrote: I am not sure what I am doing wrong, but I am doing something wrong. I am trying to setup apache2, but I cannot get access from outside my machine. I have it set to listen on port 8000 and have that forwarded from my router, however, I can only connect to the server locally and only by specifying 127.0.0.1:8000. Outside of the machine, all I get is connection refused. I have this in my apache2.conf ### ### IP Address/Port ### #BindAddress * Listen 8000 ServerRoot /usr/lib/apache2 ServerName dark-lord #LockFile /etc/apache2/apache2.lock PidFile /var/run/apache2.pid ErrorLog /var/log/apache/error_log LogLevel warn DocumentRoot /var/www/localhost/htdocs Let's make sure it's actually listening on something other than 127.0.0.1. as root: netstat -anp | grep :8000 Also note that if you are using a non-business ISP, it is common for them to prohibit servers, and block inbound ports that are common for this kind of thing. you might want to try something more random like 3874 or something. -- gentoo-user@gentoo.org mailing list
RE: [gentoo-user] Need help with apache2 setup
I am trying to setup apache2, but I cannot get access from outside my machine. I have it set to listen on port 8000 and have that forwarded from my router, however, I can only connect to the server locally and only by specifying 127.0.0.1:8000. Outside of the machine, all I get is connection refused. Are you running iptables? You might have a rule which blocks external entities. Are you running tcp-wrappers? You might need to add an entry to /etc/hosts.allow to allow the connection from your router. Anyways it doesn't sound like an apache issue, but more of a security issue. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Need help with apache2 setup
On Thu, 17 Feb 2005 14:27:59 -0500 fire-eyes [EMAIL PROTECTED] wrote: Let's make sure it's actually listening on something other than 127.0.0.1. as root: netstat -anp | grep :8000 dark-lord root # netstat -anp | grep 8000 tcp0 0 0.0.0.0:80000.0.0.0:* LISTEN 30785/apache2 Also note that if you are using a non-business ISP, it is common for them to prohibit servers, and block inbound ports that are common for this kind of thing. you might want to try something more random like 3874 or something. I thought about that, but I can access the remote setup capabilities of my router on port 8080, which strikes me as being the more likely candidate for blocking. I will however, try another port to see whether it helps. -- Ian Truelsen Email: [EMAIL PROTECTED] AIM: ihtruelsen MSN: [EMAIL PROTECTED] Yahoo!: iantruelsen Jabber: [EMAIL PROTECTED] -- gentoo-user@gentoo.org mailing list