Hi LIst; I would like to bring apache up to listen on an lternate port (like 81 instead of 80) however if I change the listen value in the httpd.conf file then it fails to start saying that : (13)Permission denied: make_sock: could not bind to address :81 any Ideas??
} kevin.kempter wrote: } } Hi LIst; } } I would like to bring apache up to listen on an lternate port (like 81 } instead } of 80) however if I change the listen value in the httpd.conf file then it } fails to start saying that : } } (13)Permission denied: make_sock: could not bind to address :81 } } any Ideas?? I don't fully recall, yet doesn't one need to add this to the /etc/services File and umm one other place that escapes me at the moment... - rh -- Robert - Abba Communications Computers & Internet Sales/Service www.abbacomm.net
On Thursday 22 September 2005 21:59, you wrote:> kevin.kempter at dataintellect.com wrote: > > Hi LIst; > > > > I would like to bring apache up to listen on an lternate port (like 81 > > instead of 80) however if I change the listen value in the httpd.conf > > file then it fails to start saying that : > > > > (13)Permission denied: make_sock: could not bind to address :81 > > > > any Ideas?? > > you're starting it as root, right? > > firewall? > > MauriceI dont have a firewall enabled on this box
I have selinux set to warn only On Thursday 22 September 2005 21:58, you wrote:> this is a selinux issue. you need to adjust it's rules. > > > > ------------ Original Message ------------ > > > Date: Thursday, September 22, 2005 09:42:56 PM -0600 > > From: kevin.kempter at dataintellect.com > > To: CentOS mailing list <centos at centos.org> > > Subject: [CentOS] OT Apache Question > > > > Hi LIst; > > > > I would like to bring apache up to listen on an lternate port (like 81 > > instead of 80) however if I change the listen value in the httpd.conf > > file then it fails to start saying that : > > > > (13)Permission denied: make_sock: could not bind to address :81 > > > > any Ideas?? > > _______________________________________________ > > CentOS mailing list > > CentOS at centos.org > > http://lists.centos.org/mailman/listinfo/centos > > ---------- End Original Message ----------
On Thu, 2005-09-22 at 21:42 -0600, kevin.kempter at dataintellect.com wrote:> Hi LIst; > > I would like to bring apache up to listen on an lternate port (like 81 instead > of 80) however if I change the listen value in the httpd.conf file then it > fails to start saying that : > > (13)Permission denied: make_sock: could not bind to address :81 > > any Ideas??Is another service already listening on this port? Have you tried this?: netstat -a -n | grep 81 | grep LISTEN If you can't start on 81, how about 82? Not that you should have to, but have you tried doing a listen on the particular socket? Instead of just having "Listen 81" have you tried "Listen AAA.BBB.CCC.DDD:81" to see if there is any difference? HTH, Barry
On Thu, 2005-09-22 at 22:42, kevin.kempter at dataintellect.com wrote:> Hi LIst; > > I would like to bring apache up to listen on an lternate port (like 81 instead > of 80) however if I change the listen value in the httpd.conf file then it > fails to start saying that : > > (13)Permission denied: make_sock: could not bind to address :81 >Did it work under the same circumstances on 80? Only root can open ports 1024 or lower. -- Les Mikesell lesmikesell at gmail.com
On Thursday 22 September 2005 22:42, kevin.kempter at dataintellect.com wrote:> Hi LIst; > > I would like to bring apache up to listen on an lternate port (like 81 > instead of 80) however if I change the listen value in the httpd.conf file > then it fails to start saying that : > > (13)Permission denied: make_sock: could not bind to address :81 > > any Ideas??selinux deactivate selinux to warn doing # setenforce 0 and try to activate apache again -- Black Hand Amiga Addicts Powered by CentOS, KDE 3.4.1 and lots of GNU Force