Is it possible to run make apache listen on loopback 127.0.0.1?

Mohamed Hamza

Registered
Nov 25, 2017
2
0
1
Egypt
cPanel Access Level
Root Administrator
so I wanted to make apache listen on 127.0.0.1:82 and make nginx as reverse proxy but I faced some problems with it and stumbled upon this on github.com/engintron/engintron/issues/598

" Apache, as set by cPanel does not listen to 127.0.0.1, but only on specific IP addresses. In other words, you can't do what you want "

so can someone confirm this?
Thanks.
 
Last edited by a moderator:

24x7server

Well-Known Member
Apr 17, 2013
1,911
96
78
India
cPanel Access Level
Root Administrator
Twitter
Hi,

You can do this via tweak settings section :
WHM Home » Server Configuration » Tweak Settings --> [ Apache non-SSL IP/port ]
 
Last edited by a moderator:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,909
2,222
463
Hello,

You may want to consider using a different Nginx plugin to see if that helps solve the issue, as this is not something we support.

Thank you.