I saw this error msg : 'permission denied:make_sock : could not bind to address 0.0.0.0:1010. No listening sockets available,shutting down' . ------Original Message------ From: lists-centos To: adekunleadekoya@gmail.com Subject: Re: [CentOS] Apache : Listen on ports other than 80 Sent: Sep 28, 2012 8:26 PM
-----Original Message----- From: adekunleadekoya@gmail.com Date: Fri, 28 Sep 2012 18:49:33 To: CentOS@mailing.list Reply-To: adekunleadekoya@gmail.com Subject: Apache : Listen on ports other than 80
Hi, I just install centos 6.3 on my oracle virtualbox. I tried 2 configure apache 2 listen on port say 1010 but after adding a 'Listen 1010' to the httpd.conf file and then try 2 restart d httpd service, I found that d service failed to start. If I remove the 'Listen 1010' line then d httpd service restarts successfully. What do I need to do so I could instruct d web server to use other ports (besides 80) ?
Are there default settings in centos that are causing this prob ? I have done same experiment successfully wit apache on windows. I need to setup virtualhost with my apache on centos. I need help now. Pls help!
Regards
Kunle
Start by looking in the apache error log. I think you'll get hints there on what the problem is.
- Richard
Sent from my BlackBerry wireless device from MTN
On 09/28/12 1:30 PM, adekunleadekoya@gmail.com wrote:
I saw this error msg : 'permission denied:make_sock : could not bind to address 0.0.0.0:1010. No listening sockets available,shutting down' .
is another process listening on 1010 ?
netstat -an |grep :1010
look for lines with LISTEN on the end ...