apache listen [::]:80
Hi,
I am trying to make apache listen on the main server IP only and I changed the listen address in tweak settings. After I rebuild the httpd conf and restart it does not work because there's always a Listen [::]:80 directive that conflicts with my IP:80 directive.
Can you please tell me how do I remove that [::]:80 Listen directive?
Thanks
-
Hello :) Please use the following option to ensure Apache only listens on the IP addresses of you preference: "WHM Home " Service Configuration " Apache Configuration " Reserved IPs Editor" Thank you. 0 -
Hi. I've several server and any has a Ip marked on "WHM Home " Service Configuration " Apache Configuration " Reserved IPs Editor" But one server are the same problem. Also after select IP form WHM, apache not work on any IP selected. Listen [::]:80
You can clarify? /https://dropbox.tamainut.net/owncloud/public.php?service=files&t=a0a40989f4c8e3bdbfce533cccced7db0 -
Screenshot URL isn't working. Docs on the solution suggested by cPanelMichael: And here's an alternate solution: cd /var/cpanel/templates/apache2 cp main.default main.local
The edit main.local to customize the Listen directive. Specifically, you're looking for this:[% IF configured.ip_listen -%] [%- FOREACH ip IN configured.ip_listen -%] Listen [% ip %]:[% configured.main_port %] [% END -%] [% ELSE -%] # Defined in /var/cpanel/cpanel.config: apache_port Listen [% main.listen.item.listen %] [% END -%]
Then rebuildhttpdconf and restart.0
Please sign in to leave a comment.
Comments
3 comments