I need to run Apache on a port other than 80, 81 or 8080. My other servers are using 80 and 81 (RH 9: 80; Windows Apache: 81). If I set the port in httpd.conf to anything other than 80, I get an error that a socket cannot be created for the port. No doubt it has something to do with security (did not have that problem with Win Apache, but Windows is Windows). Any suggestions on where I should look? Todd -- Ariste Software 200 D Street Ext Petaluma, CA 94952 (707) 773-4523
centos-bounces at centos.org <> scribbled on Thursday, August 18, 2005 10:23 AM:> I need to run Apache on a port other than 80, 81 or 8080. My > other servers are using 80 and 81 (RH 9: 80; Windows Apache: > 81). If I set the port in httpd.conf to anything other than > 80, I get an error that a socket cannot be created for the port. > > No doubt it has something to do with security (did not have > that problem with Win Apache, but Windows is Windows). Any > suggestions on where I should look? > > ToddCould this be an SELinux problem?
On Thu, 2005-08-18 at 08:22 -0700, Todd Cary wrote:> I need to run Apache on a port other than 80, 81 or 8080. My other > servers are using 80 and 81 (RH 9: 80; Windows Apache: 81). If I set > the port in httpd.conf to anything other than 80, I get an error that a > socket cannot be created for the port.Install selinux-policy-targeted-sources, edit /etc/selinux/targeted/src/policy/net_contexts appropriately, and reload the policy. http://www.redhat.com/docs/manuals/enterprise/RHEL-4-Manual/selinux-guide/rhlcommon-chapter-0018.html -- Ignacio Vazquez-Abrams <ivazquez at ivazquez.net> http://centos.ivazquez.net/ gpg --keyserver hkp://subkeys.pgp.net --recv-key 38028b72 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: <http://lists.centos.org/pipermail/centos/attachments/20050818/e3f5fd1c/attachment-0002.sig>