Global Linux Knowledge Base…
Configure Apache to Listen Multiple Ports
| We can configure apache – httpd service to listen Multiple ports via Listen directive. By default httpd listens on TCP port 80. To configure multiple ports, open file /etc/httpd/conf/httpd.conf and modify the Listen directive tells the server to accept incoming requests on the specified port |
| # vi /etc/httpd/conf/httpd.conf |
|
Find,
|
| Listen 80 |
| Force apache to listen to port 8080: |
| Listen 8080 |
| Save and close the file. Restart httpd: |
| # /etc/init.d/httpd restart |
| Note: You must have root privileges to change configuration file. |
| Print article | This entry was posted by Dhaval Soni on December 2, 2010 at 8:48 PM, and is filed under All, Apache, Apache Server, CentOS, Fedora, Linux OS, Red Hat, Servers, Web Server. Follow any responses to this post through RSS 2.0. You can leave a response or trackback from your own site. |
-
http://www.realestateserviceonline.com/ Ingrid Gottschalk