Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Solved]Apache listen 8080 still wants port 80
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Letharion
Veteran
Veteran


Joined: 13 Jun 2005
Posts: 1344
Location: Sweden

PostPosted: Mon Aug 18, 2008 10:23 am    Post subject: [Solved]Apache listen 8080 still wants port 80 Reply with quote

I'm running lighttpd normally, and now I'm gonna try setting up apache+subversion+lighttpd.
I run emerge -av apache default everything, and add
Code:
ServerName localhost
Listen 8080

to /etc/apache2/httpd.conf

Code:
April svn # /etc/init.d/apache2 start
 * Service apache2 starting
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
 * Service apache2 started
April svn # ps fax| grep apache
29297 pts/1    S+     0:00                              |   \_ grep --colour=auto apache
April svn # netstat -lnp | grep '8080'
April svn #


So apache doesn't wanna start, and I don't understand why it wants to listen to :80

Code:
April svn # cat /etc/apache2/httpd.conf | grep 80
Listen 8080
April svn #


Are there settings for this somewhere else aswell?


Last edited by Letharion on Mon Aug 18, 2008 11:31 am; edited 1 time in total
Back to top
View user's profile Send private message
mfyahya
Tux's lil' helper
Tux's lil' helper


Joined: 02 Feb 2006
Posts: 110

PostPosted: Mon Aug 18, 2008 10:38 am    Post subject: Reply with quote

Gentoo has apache configuration in /etc/conf.d/apache and per vhost config in /etc/apache2/vhosts.d/ . The Listen directive should be in /etc/apache2/vhost.d/00_default_vhost.conf
Back to top
View user's profile Send private message
Letharion
Veteran
Veteran


Joined: 13 Jun 2005
Posts: 1344
Location: Sweden

PostPosted: Mon Aug 18, 2008 11:31 am    Post subject: Reply with quote

Ty :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum