Healthy Forex Community - XAMPP - Port 80 in use by “Unable to open process” with PID 4!
    Remember me

XAMPP - Port 80 in use by “Unable to open process” with PID 4!

XAMPP - Port 80 in use by “Unable to open process” with PID 4!

When you try to start Apache Service from XAMPP control panel you may face the problem that this service can't be run because it can't accesses port 80 of the host server (local site). It may be caused by some services or programs such as skype, Internet Information Services  (IIS), and SQL Server Reporting Service that also use port 80. The error messages will appears like this :

16:00:47 [Apache ] Problem detected!
16:00:47 [Apache ] Port 80 in use by "Unable to open process" with PID 4!
16:00:47 [Apache ] Apache WILL NOT start without the configured ports free!
16:00:47 [Apache ] You need to uninstall/disable/reconfigure the blocking application
16:00:47 [Apache ] or reconfigure Apache and the Control Panel to listen on a different port
16:00:47 [Apache ] Attempting to start Apache app...
16:00:48 [Apache ] Status change detected: running
16:00:49 [Apache ] Status change detected: stopped
16:00:49 [Apache ] Error: Apache shutdown unexpectedly.
16:00:49 [Apache ] This may be due to a blocked port, missing dependencies,
16:00:49 [Apache ] improper privileges, a crash, or a shutdown by another method.
16:00:49 [Apache ] Press the Logs button to view error logs and check
16:00:49 [Apache ] the Windows Event Viewer for more clues
16:00:49 [Apache ] If you need more help, copy and post this
16:00:49 [Apache ] entire log window on the forums

Or see image below :


Here are some options to solve the problem :

Option 1 : Stop other services directly from XAMPP control panel

On XAMPP control panel click Services button (see image above), a new window with services list will appear (see image below, filename is services.msc, extra info).

Then scrolled down to look for 
1. World Wide Web Publishing Service. If it is running, stop it (stop this service option on the left after clicking on the service name) or double clicked on it and clicked STOP (if this service status is Started).
2. Internet Information Services  (IIS). If it is running, stop it (stop this service option on the left after clicking on the service name) or double clicked on it and clicked STOP (if this service status is Started).
3. Web deployment Service (not the exact name though it has Web deployment at the beginning). Stop this service too (the same way as above).
If you are running Skype, exit out of that too, run Apache, then launch Skype

OPTION 2 : Change port directly from XAMPP control panel

Another very easy option is to simply set Apache to listen on a different port (see image below). This can be done by clicking on the "Config" button on the same line as the "Apache" module, select the "httpd.conf" file in the dropdown, then change the "Listen 80" line to "Listen 8080". Save the file and close it.

Now it avoids Port 80 and uses Port 8080 instead without issue. The only additional thing you need to do is make sure to put localhost:8080 in the browser so the browser knows to look on Port 8080. Otherwise it defaults to Port 80 and won't find your local site. This will also require you to restart Apache for the change to take effect.

OPTION 3 : Stop other services by using command prompt or from the programs itself

  1. Skype: skype uses port 80/443 by default. You can change this from tools->options-> advanced->connections and disable checkbox "use port 80 and 443 for addtional incoming connections".
  2. IIS: IIS uses port 80 by default so you need to shut down it. You can use the following two commands 'net stop w3svc' and 'net stop iisadmin'
  3. SQL Server Reporting Service: You need to stop this service because it may take port 80 if IIS is not running. Go to local services and stop it.
Self-assembling material could produce artificial ...
Forex Volatility and Market Expectation


No comments made yet. Be the first to submit a comment
Already Registered? Login Here
Tuesday, 22 May 2018
If you'd like to register, please fill in the username, password and name fields.

Captcha Image

Buka Akun Bitcoin Sekarang

Jual Beli Cryptocurrency

The Best Webhosting

Random Posting

Christiano Lee
08 January 2018
Forex Academy
Market Overview
Last week ended with the publication of disappointing NFP jobs numbers from the USA; coming in at 148k, versus expectations of circa 190k. A peculiar number suggesting that retailers, working on ever ...
Anasry Delta Azim
01 December 2017
Forex Academy
One of the trickiest concepts in forex trading is the management of stop orders. As the name indicates, a stop-loss order is an order that closes out your trading position when your losses on that tra...
Forex Academy
Economists, investors, enthusiasts and naysayers love to argue about the nature of bitcoin. Is it the future of money? A hedge against chaos? A pile of cash doused in lighter fluid? The thing is, it's...
Anasry Delta Azim
01 December 2017
Forex Academy
Forex risk management can make the difference between your survival or sudden death with forex trading. You can have the best trading system in the world and still fail without proper risk management....
Anasry Delta Azim
29 November 2017
Forex Academy
The foreign exchange market (or forex market) is the largest financial market in the world. In fact, the market for currencies is several times larger than the stock market. This is the place where on...