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

Linux: How to Change IP Address of CentOS 8 Machine

# Check the network interface config files ls /etc/sysconfig/network-scripts [cuilo@web02 ~]$ ls /etc/sysconfig/network-scripts ifcfg-ens192 #…

Linux: How to Add a Line into Crontab from Command Line

The easy method: newline=@reboot /usr/bin/numlockx(crontab -l && echo "$newLine") | crontab - Alternative (longer version)…

NGINX

# Create nginx.repovim /etc/yum.repos.d/nginx.repo#### content ####[nginx]name=nginx repo baseurl=http://nginx.org/packages/mainline/centos/$releasever/$basearch/ gpgcheck=0 enabled=1###############sudo yum update nginxsudo service nginx…
Other project: DragonCoin.com