Always listen port 80
Posted: 06. September 2010 22:17
Hello, I've installed XAMPP today (xampp-linux-1.7.3a) on Ubuntu 8.10. I made some changes and still don't understand why apache listen on Port 80:
httpd.conf
I atach two images:
1) The first shows opened ports, you can see both 80 and 8000. Why 80?!! Of course port 85 wasn't opened because <VirtualHost localhost:85> doesn't tell Apache which port open (that instruction is given by Listen, yes/no?)
2) The second shows all ports related to XAMPP closed.
Is Port 80 always opened when XAMPP start Apache?
There exists another config file? OBS: I comment all lines of httpd-vhosts.conf too.
Thanks in advance and sorry my English please.
httpd.conf
- Code: Select all
#Listen 80
Listen 8000
NameVirtualHost localhost:85
NameVirtualHost localhost:8000
<VirtualHost localhost:85>
ServerName localhost1
DocumentRoot "/opt/lampp/htdocs"
</VirtualHost>
<VirtualHost localhost:8000>
ServerName localhost2
DocumentRoot "/opt/lampp/htdocs/dominio-8000"
</VirtualHost>
I atach two images:
1) The first shows opened ports, you can see both 80 and 8000. Why 80?!! Of course port 85 wasn't opened because <VirtualHost localhost:85> doesn't tell Apache which port open (that instruction is given by Listen, yes/no?)
2) The second shows all ports related to XAMPP closed.
Is Port 80 always opened when XAMPP start Apache?
There exists another config file? OBS: I comment all lines of httpd-vhosts.conf too.
Thanks in advance and sorry my English please.