I have an Apache2 + Virtual Host config that runs perfectly fine on port 80, but I'm trying to get the same setup to run on port 9000 instead. I went into my httpd.conf and changed the Listen line to be:
and I went into my Virtual Host config for my website and changed the to be:
I opened up port 9000 on my iptables like:
$ iptables -A INPUT -i eth0 -p tcp --dport 9000 -j ACCEPT $ iptables -A OUTPUT -i eth0 -p tcp --dport 9000 -j ACCEPT
Yet I'm running into the issue where the website still won't work. Most of the time I will get a straight up connection error, and sometimes (after changing some config) I'll get it to load the servers default htdocs directory.
Don't know what else I'm missing.