LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   apache listen on tcp6 port (https://www.linuxquestions.org/questions/slackware-14/apache-listen-on-tcp6-port-643451/)

tanoatlq 05-20-2008 04:15 AM

apache listen on tcp6 port
 
Excuse my ignorance, I am totally newbie to the apache server and ipv6.
What I do is simply chmod 755 the rc.httpd file and use
127.0.0.1 as ServerName in the httpd.conf file.
Using netstat -a on the command line I found that apache listen
on the tcp6 80 port, even if trying to reach on firefox as 127.0.0.1
give me the success string "It works!".
Is normal to get apache listen to this port? Two years ago I have
to do a minimal apache setup and remember that the port should be
the (obvious) tcp 80, with the normal dot notation x.x.x.x.
Can you clarify my ideas?
Thanks,
tano

bathory 05-20-2008 05:30 AM

By default apache listens on port 80 on every interface and both ipv4 and ipv6 protocols that are available. If you want you can specify the ip address and protocol using the "Listen" directive. Read this document for details.

Regards

tanoatlq 05-20-2008 06:25 AM

Thanks, I am looking and seems that I have to change only the Listen directive.


All times are GMT -5. The time now is 02:58 AM.