Unable to start Apache due to port used by Skype

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Unable to start Apache due to port used by Skype

Postby Harpoon » 08. November 2013 15:17

It appears that Apache and Skype use the same port. Can I use a different port for Apache and how can I determine which port might be available for the Apache configuration? I need to continue using Skype

7:47:18 AM [main] Initializing Control Panel
7:47:18 AM [main] Windows Version: Windows 7 Home Premium SP1 64-bit
7:47:18 AM [main] XAMPP Version: 1.8.2
7:47:18 AM [main] Control Panel Version: 3.2.1 [ Compiled: May 7th 2013 ]
7:47:18 AM [main] You are not running with administrator rights! This will work for
7:47:18 AM [main] most application stuff but whenever you do something with services
7:47:18 AM [main] there will be a security dialogue or things will break! So think
7:47:18 AM [main] about running this application with administrator rights!
7:47:18 AM [main] XAMPP Installation Directory: "c:\xampp\"
7:47:18 AM [main] Checking for prerequisites
7:47:24 AM [main] All prerequisites found
7:47:24 AM [main] Initializing Modules
7:47:24 AM [Apache] Problem detected!
7:47:24 AM [Apache] Port 80 in use by "C:\Program Files (x86)\Skype\Phone\Skype.exe" with PID 4396!
7:47:24 AM [Apache] Apache WILL NOT start without the configured ports free!
7:47:24 AM [Apache] You need to uninstall/disable/reconfigure the blocking application
7:47:24 AM [Apache] or reconfigure Apache and the Control Panel to listen on a different port
7:47:24 AM [Apache] Problem detected!
7:47:24 AM [Apache] Port 443 in use by "C:\Program Files (x86)\Skype\Phone\Skype.exe" with PID 4396!
7:47:24 AM [Apache] Apache WILL NOT start without the configured ports free!
7:47:24 AM [Apache] You need to uninstall/disable/reconfigure the blocking application
7:47:24 AM [Apache] or reconfigure Apache and the Control Panel to listen on a different port
7:47:24 AM [main] Starting Check-Timer
7:47:24 AM [main] Control Panel Ready
7:47:44 AM [mysql] Attempting to start MySQL app...
7:47:45 AM [mysql] Status change detected: running
7:48:09 AM [Apache] Problem detected!
7:48:10 AM [Apache] Port 80 in use by "C:\Program Files (x86)\Skype\Phone\Skype.exe" with PID 4396!
7:48:10 AM [Apache] Apache WILL NOT start without the configured ports free!
7:48:10 AM [Apache] You need to uninstall/disable/reconfigure the blocking application
7:48:10 AM [Apache] or reconfigure Apache and the Control Panel to listen on a different port
7:48:10 AM [Apache] Problem detected!
7:48:10 AM [Apache] Port 443 in use by "C:\Program Files (x86)\Skype\Phone\Skype.exe" with PID 4396!
7:48:10 AM [Apache] Apache WILL NOT start without the configured ports free!
7:48:10 AM [Apache] You need to uninstall/disable/reconfigure the blocking application
7:48:10 AM [Apache] or reconfigure Apache and the Control Panel to listen on a different port
7:48:10 AM [Apache] Attempting to start Apache app...
7:48:10 AM [Apache] Status change detected: running
7:48:11 AM [Apache] Status change detected: stopped
7:48:11 AM [Apache] Error: Apache shutdown unexpectedly.
7:48:11 AM [Apache] This may be due to a blocked port, missing dependencies,
7:48:11 AM [Apache] improper privileges, a crash, or a shutdown by another method.
7:48:11 AM [Apache] Press the Logs button to view error logs and check
7:48:11 AM [Apache] the Windows Event Viewer for more clues
7:48:11 AM [Apache] If you need more help, copy and post this
7:48:11 AM [Apache] entire log window on the forums
7:48:21 AM [Apache] Problem detected!
7:48:21 AM [Apache] Port 80 in use by "C:\Program Files (x86)\Skype\Phone\Skype.exe" with PID 4396!
7:48:21 AM [Apache] Apache WILL NOT start without the configured ports free!
7:48:21 AM [Apache] You need to uninstall/disable/reconfigure the blocking application
7:48:21 AM [Apache] or reconfigure Apache and the Control Panel to listen on a different port
7:48:21 AM [Apache] Problem detected!
7:48:21 AM [Apache] Port 443 in use by "C:\Program Files (x86)\Skype\Phone\Skype.exe" with PID 4396!
7:48:21 AM [Apache] Apache WILL NOT start without the configured ports free!
7:48:21 AM [Apache] You need to uninstall/disable/reconfigure the blocking application
7:48:21 AM [Apache] or reconfigure Apache and the Control Panel to listen on a different port
7:48:21 AM [Apache] Attempting to start Apache app...
7:48:21 AM [Apache] Status change detected: running
7:48:22 AM [Apache] Status change detected: stopped
7:48:22 AM [Apache] Error: Apache shutdown unexpectedly.
7:48:22 AM [Apache] This may be due to a blocked port, missing dependencies,
7:48:22 AM [Apache] improper privileges, a crash, or a shutdown by another method.
7:48:22 AM [Apache] Press the Logs button to view error logs and check
7:48:22 AM [Apache] the Windows Event Viewer for more clues
7:48:22 AM [Apache] If you need more help, copy and post this
7:48:22 AM [Apache] entire log window on the forums
7:50:01 AM [main] Executing "c:\xampp\apache\logs"
7:50:38 AM [Apache] Problem detected!
7:50:38 AM [Apache] Port 80 in use by "C:\Program Files (x86)\Skype\Phone\Skype.exe" with PID 4396!
7:50:38 AM [Apache] Apache WILL NOT start without the configured ports free!
7:50:38 AM [Apache] You need to uninstall/disable/reconfigure the blocking application
7:50:38 AM [Apache] or reconfigure Apache and the Control Panel to listen on a different port
7:50:38 AM [Apache] Problem detected!
7:50:38 AM [Apache] Port 443 in use by "C:\Program Files (x86)\Skype\Phone\Skype.exe" with PID 4396!
7:50:38 AM [Apache] Apache WILL NOT start without the configured ports free!
7:50:38 AM [Apache] You need to uninstall/disable/reconfigure the blocking application
7:50:38 AM [Apache] or reconfigure Apache and the Control Panel to listen on a different port
7:50:38 AM [Apache] Attempting to start Apache app...
7:50:38 AM [Apache] Status change detected: running
7:50:39 AM [Apache] Status change detected: stopped
7:50:39 AM [Apache] Error: Apache shutdown unexpectedly.
7:50:39 AM [Apache] This may be due to a blocked port, missing dependencies,
7:50:39 AM [Apache] improper privileges, a crash, or a shutdown by another method.
7:50:39 AM [Apache] Press the Logs button to view error logs and check
7:50:39 AM [Apache] the Windows Event Viewer for more clues
7:50:39 AM [Apache] If you need more help, copy and post this
7:50:39 AM [Apache] entire log window on the forums
7:51:33 AM [Apache] Problem detected!
7:51:33 AM [Apache] Port 80 in use by "C:\Program Files (x86)\Skype\Phone\Skype.exe" with PID 4396!
7:51:33 AM [Apache] Apache WILL NOT start without the configured ports free!
7:51:33 AM [Apache] You need to uninstall/disable/reconfigure the blocking application
7:51:33 AM [Apache] or reconfigure Apache and the Control Panel to listen on a different port
7:51:33 AM [Apache] Problem detected!
7:51:33 AM [Apache] Port 443 in use by "C:\Program Files (x86)\Skype\Phone\Skype.exe" with PID 4396!
7:51:33 AM [Apache] Apache WILL NOT start without the configured ports free!
7:51:33 AM [Apache] You need to uninstall/disable/reconfigure the blocking application
7:51:33 AM [Apache] or reconfigure Apache and the Control Panel to listen on a different port
7:51:33 AM [Apache] Attempting to start Apache app...
7:51:34 AM [Apache] Status change detected: running
7:51:34 AM [Apache] Status change detected: stopped
7:51:34 AM [Apache] Error: Apache shutdown unexpectedly.
7:51:34 AM [Apache] This may be due to a blocked port, missing dependencies,
7:51:34 AM [Apache] improper privileges, a crash, or a shutdown by another method.
7:51:34 AM [Apache] Press the Logs button to view error logs and check
7:51:34 AM [Apache] the Windows Event Viewer for more clues
7:51:34 AM [Apache] If you need more help, copy and post this
7:51:34 AM [Apache] entire log window on the forums
7:52:43 AM [Apache] Problem detected!
7:52:43 AM [Apache] Port 80 in use by "C:\Program Files (x86)\Skype\Phone\Skype.exe" with PID 4396!
7:52:43 AM [Apache] Apache WILL NOT start without the configured ports free!
7:52:43 AM [Apache] You need to uninstall/disable/reconfigure the blocking application
7:52:43 AM [Apache] or reconfigure Apache and the Control Panel to listen on a different port
7:52:43 AM [Apache] Problem detected!
7:52:43 AM [Apache] Port 443 in use by "C:\Program Files (x86)\Skype\Phone\Skype.exe" with PID 4396!
7:52:43 AM [Apache] Apache WILL NOT start without the configured ports free!
7:52:43 AM [Apache] You need to uninstall/disable/reconfigure the blocking application
7:52:43 AM [Apache] or reconfigure Apache and the Control Panel to listen on a different port
7:52:43 AM [Apache] Attempting to start Apache app...
7:52:43 AM [Apache] Status change detected: running
7:52:44 AM [Apache] Status change detected: stopped
7:52:44 AM [Apache] Error: Apache shutdown unexpectedly.
7:52:44 AM [Apache] This may be due to a blocked port, missing dependencies,
7:52:44 AM [Apache] improper privileges, a crash, or a shutdown by another method.
7:52:44 AM [Apache] Press the Logs button to view error logs and check
7:52:44 AM [Apache] the Windows Event Viewer for more clues
7:52:44 AM [Apache] If you need more help, copy and post this
7:52:44 AM [Apache] entire log window on the forums
Harpoon
 
Posts: 2
Joined: 08. November 2013 15:09
Operating System: Windows 7

Re: Unable to start Apache due to port used by Skype

Postby Altrea » 08. November 2013 20:05

It is not Apache that should not use this ports, it's Skype.
Configure Skype not to use these ports.
We don't provide any support via personal channels like PM, email, Skype, TeamViewer!

It's like porn for programmers 8)
User avatar
Altrea
AF Moderator
 
Posts: 11926
Joined: 17. August 2009 13:05
XAMPP version: several
Operating System: Windows 11 Pro x64

Re: Unable to start Apache due to port used by Skype

Postby Harpoon » 08. November 2013 20:38

Thank you Altrea for the helpful hint. I did find this procedure in Skype and followed their instructions. See my <===== Note =====< below:

From Skype Help:

If the port chosen for incoming connections becomes unavailable, by default ports 80 and 443 will be used as alternatives. If another application (such as Apache HTTP server or IIS) uses these ports, you can either configure the application to use other ports, or you can configure Skype to not use these ports.

To configure the ports that Skype uses for incoming connections:

In Skype, from the menu bar, click Tools > Options.
Under Advanced, click Connection.

Enter the port that you want Skype to use for incoming connections.
Choose whether to use port 80 and 443 as alternatives for incoming connections.<============
======== I un-selected this option, logged off & on to Skype, verified that I could call out and receive calls via Skype and successfully started Apache. =========<

If another application (such as Apache HTTP Server or IIS) uses these ports, Skype may not function correctly. Either uncheck this box, or configure the other application to use different ports.
Click Save.
Harpoon
 
Posts: 2
Joined: 08. November 2013 15:09
Operating System: Windows 7


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 94 guests