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!

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,880
    Likes Received:
    89
    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 ]
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
    #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 Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    44,803
    Likes Received:
    1,898
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice