Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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

Discussion in 'Workarounds and Optimization' started by Mohamed Hamza, Nov 25, 2017.

  1. Mohamed Hamza

    Mohamed Hamza Registered

    Joined:
    Nov 25, 2017
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    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.
     
    #1 Mohamed Hamza, Nov 25, 2017
    Last edited by a moderator: Nov 25, 2017
  2. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,731
    Likes Received:
    78
    Trophy Points:
    78
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hi,

    You can do this via tweak settings section :
    WHM Home » Server Configuration » Tweak Settings --> [ Apache non-SSL IP/port ]
     
    #2 24x7server, Nov 25, 2017
    Last edited by a moderator: Nov 26, 2017
  3. Mohamed Hamza

    Mohamed Hamza Registered

    Joined:
    Nov 25, 2017
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Egypt
    cPanel Access Level:
    Root Administrator
    yup I tried that and unfortunately the proxy didn't work afterword.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    42,763
    Likes Received:
    1,711
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page