[CentOS] Apache : Listen on ports other than 80
leonfauster at googlemail.com
Fri Sep 28 15:47:16 EDT 2012
Am 28.09.2012 um 21:06 schrieb adekunleadekoya at gmail.com:
> 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!
check the <VirtualHost *:PORT> directive (and NameVirtualHost *:PORT).
More information about the CentOS