Posted On April 1, 2019

LAMPP: Change Apache Listening Port

kimconnect 0 comments
blog.KimConnect.com >> Linux >> LAMPP: Change Apache Listening Port
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

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post

CentOS: Java & Tomcat Installation

Install Java 1.6.0_20:   The following instructions assume that there is no root access to…

Linux: Create a Shell Script to Watch Services

# create a script to watch services (notice the regex escape for special chars) sudo…

Long Boot Time Caused by “Scanning for BTRFS file system”

More info about swap files: here Step 1: turn off quiet boot to observe the…