[CentOS] Apache : Listen on ports other than 80

John R Pierce pierce at hogranch.com
Fri Sep 28 16:50:04 EDT 2012


On 09/28/12 1:47 PM, adekunleadekoya at gmail.com wrote:
> I v run d netstat and no result(i.e no process is listening on port 1010). Also I telnet 127.0.0.1 1010 just 2 confirm that no process is using the port. I can't figure out why the port(and any other except 80) would not work!

selinux ?

try setting it to 'permissive' if its in 'enforcing', and see if it 
works.  if so, you'll need to adjust the selinux policy to allow apache 
to listen on more ports.

-- 
john r pierce                            N 37, W 122
santa cruz ca                         mid-left coast



More information about the CentOS mailing list