easy networking question (maybe)
Paul Morgan
paul.morgan at jumanjihouse.com
Sat Oct 11 23:02:34 UTC 2003
On Sat, 2003-10-11 at 17:45, josh lynch wrote:
> Thanx friend, but this is old news. This has been part of the conversation.
> Using another port under linux does me no good.
>
> lets get back to the heart of my original question.
> try this: my windoze web server has now been changed to be viewed via open
> port 8008 instead of "80"
> ok, someone give me feedback, let me know if you can view it.
>
> If so, great,...my original question was, so how can i get fedora to work
> using port 8008 instead of the stock "80".???
>
> If it is still inaccessible, then i'm back to square one, and the problem is
> unknown. 8008 is where I now have incoming requests forwarded to the web
> server machine running a private ip.
vi /etc/httpd/conf/httpd.conf
change the Listen directive to reflect the correct port number
service httpd restart
chkconfig httpd on
check your iptables settings
1. if default policy is to drop, then: iptables -nL | grep 8008
the results should show a rule allowing inbound connections
(and assuming stateful conn tracking, you should have a rule
allowing outbound traffic, too).
2. if default policy is to accept, then iptables -nL | grep 8008
the results should be empty
[please change your firewall to default drop after that]
check /etc/hosts.allow and /etc/hosts.deny
if you have ALL:ALL in /etc/hosts.deny, then /etc/hosts.allow must have
an appropriate entry, such as "httpd: ALL"
hth -paul
More information about the fedora-list
mailing list