Steps to change the default port number for Apache HTTP Server
Add a comment
February 28th, 2007
We all know that as default the Apache HTTP Server will ping to port number 80 . What we have to do when a situation of changing this post number comes? Lets see some simple steps for this…
1. Assume that your new port number is 78
2. cp /etc/httpd/ports.conf /etc/httpd/ports.conf_backupgedit /etc/httpd/ports.conf
3. Find this line- Listen 80
4. Replace with the following line – Listen 78
5. Save the edited file
6. /etc/init.d/httpd restartApache HTTP server, Linux
Book Mark it-> del.icio.us | Reddit | Slashdot | Digg | Facebook | Technorati | Google | StumbleUpon | Window Live | Tailrank | Furl | Netscape | Yahoo | BlinkListPopularity: 1% [?]
Related posts:
- Wink – A framework for RESTful web services from Apache Apache Wink 1.0 is a complete Java based solution for...
Related posts brought to you by Yet Another Related Posts Plugin.
Hi
This is pradeep and i am having problm with the apache server .i am not able to start it ..whenever i try to start it,i get the reply as server busy….
Hi Pradeep,
Plz check any instance is already running on ur machine.
Please send a mail to us. We can do it for you.
“/applications/tomcat/bin”>apachectl start
(13)Permission denied: make_sock: could not bind to address [::]:78
no listening sockets available, shutting down
Unable to open logs
I am inale to start the apche http server?? could you please help me out regardingthis.I changed the port numer from 80 to 78.
Hi guys,
if you have “permission denied”, it means your user is not allowed to perform such action.
So login as a root or admin user and you should be able to start your apache http server properly.
Hi,
How can I change the port of virtual dedicated server. I want my tomcat to listen on port 80 and not the apache(Apache server is not running), So I did change on my server.xml but still i cannot get to port 80 where my tomcat is , is there any restrictions imposed by the Hosting provider, which is Godaddy in my case.
Thanks,
Emily