Change Apache listening port:
vim /opt/lampp/etc/httpd.conf
Edit line:
Listen 80 (change to 8888)
OPEN port 8888:
vim /etc/sysconfig/iptables
-A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 8888 -j ACCEPT
Restart IPTABLES:
/sbin/service iptables
Categories: