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

LAMPP Passwords Change

Change ProFTP password: vim /opt/lampp/etc/proftpd.conf <?-- delete the last line in password, leave the first…

Linux: Copy File Contents Into Clipboard

Install XCLIP (if not already installed) sudo apt install xclip -y Reading package lists... Done…

How To Install Remote Desktop on Ubuntu or Centos 7

Ubuntu:sudo apt-get updatesudo apt-get install xrdp xfce4echo xfce4-session >~/.xsessionsudo service xrdp restartCentOS 7:su -vim /etc/yum.repos.d/xrdp.repo-----…
Other project: DragonCoin.com