LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-20-2008, 04:15 AM   #1
tanoatlq
Member
 
Registered: Mar 2007
Posts: 157

Rep: Reputation: 30
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
 
Old 05-20-2008, 05:30 AM   #2
bathory
LQ Guru
 
Registered: Jun 2004
Location: Piraeus
Distribution: Slackware
Posts: 13,163
Blog Entries: 1

Rep: Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032Reputation: 2032
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
 
Old 05-20-2008, 06:25 AM   #3
tanoatlq
Member
 
Registered: Mar 2007
Posts: 157

Original Poster
Rep: Reputation: 30
Thanks, I am looking and seems that I have to change only the Listen directive.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Tomcat listen to port 80 thisObject Linux - Software 3 05-09-2006 01:38 AM
Port 80 listen without WebServer? hacinn Linux - Security 5 06-30-2004 09:52 PM
Port won't Listen dvong3 Linux - Networking 4 05-12-2004 12:18 PM
Can vsftpd listen to another port? twelve Linux - Networking 9 05-05-2004 08:13 PM
how to change wu-ftp listen port? jamil5454 Linux - Networking 3 01-05-2004 07:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration