[CentOS] Switching HTTPD ports

Fri Aug 19 03:21:08 UTC 2005
Ignacio Vazquez-Abrams <ivazquez at ivazquez.net>

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.


Ignacio Vazquez-Abrams <ivazquez at 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-0005.sig>