The Port 80 is occupied by other application



The Port 80 is occupied by other application.

Yesterday , I got a request to help the user to test the webpage with Chinese Character .   That is a PHP file,  before the webpage testing .  I need to establish a PHP environment .  The most convenient way is using integrate package “Wampserver” .

Wamp is Apache Mysql PHP integrated installation environment, under the window system. , apache, php and mysql server software. The PHP extensions Apache module, open / close the little mouse to get, no longer have to go and modify the configuration file, WAMP it will do. No longer have to ask php installation problems everywhere, WAMP ,Just one click . that`s all.

So go to Internet , and download the program. Then install the Wampserver.

Then open the Wampserver client . umm, Problem happen,.
It seems the “Apache ” service is not started .   And check the status of port. It prompt “ your currently port 80 is used by ”
 


Ok Now you know what`s going on with your port 80.

Next step . 
  • In the command prompt, run the command netstat -ao to display all Ports, then find which PID is occupied the Port 80.
  • Goto Task Manager  , then you saw System is taken the port.
If other program is kill the processes.  Then your WAMP is running again.

 But this is the windows system task, if you kill this processes , your computer will Blue_Screen.


In this case , normally you need to change the default port by windows.
Add caption
Goto register tool . then follow this .  HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\HTTP Change the  key”Start” Dword valve to 0.  

  • Then reboot your computer, then window will not occupy this 80 Port.







Comments

Popular posts from this blog

How to remove the service by using Register tool/Command line

Change Default Font in Lotus Notes | IBM | Lotus Notes|