[CentOS] Apache : Listen on ports other than 80

adekunleadekoya at gmail.com adekunleadekoya at gmail.com
Fri Sep 28 16:30:32 EDT 2012


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 at gmail.com
Subject: Re: [CentOS] Apache : Listen on ports other than 80
Sent: Sep 28, 2012 8:26 PM


> -----Original Message-----
> From: adekunleadekoya at gmail.com
> Date: Fri, 28 Sep 2012 18:49:33 
> To: <CentOS at mailing.list>
> Reply-To: adekunleadekoya at 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


More information about the CentOS mailing list