foysalu9 — 2013-05-26T12:30:50-04:00 — #1
I like to inform you that I couldn’t install xampp-win32-1.7.3 in my computer for creating a local host/local server.
Then I tried XAMPP 1.7.1 win32 (Basic Package). But it showed the massage: Ports 80 or 443 (SSL) already in use! Installing Apache2.2 service failed!
Please anybody can tell me, what should I do?
force — 2013-05-26T15:37:46-04:00 — #2
Do you have another web service running?
Do you have skype running?
This tool can tell you which processes/applications are using what local ports: http://technet.microsoft.com/en-us/sysinternals/bb897437.aspx
mittineague — 2013-05-27T04:51:13-04:00 — #3
I've always used the DOS command prompt
but that tool does look much more user friendly
eksen — 2013-06-15T21:58:16-04:00 — #4
you can use alternative wampp software
force — 2013-06-15T22:20:37-04:00 — #5
Actually, no. Not for a "port in use" problem. The installer/management package won't make a difference since Apache and MySQL use the same default ports--80 for apache, and 3306 for MySQL.
jaagare — 2013-06-16T01:39:25-04:00 — #6
Well even if ports are in use you could change the ports easily. Thats not a major issue.
You need to go to xampp folder > apache > conf > httpd.conf
find the port Listen
You can change that to any port and then when you access local host you need to say localhost:XX so that it loads web from that port.
Similarly for 443 port you need to go to httpd-ssl.conf and change the listen port
Then restart apache and you should be ok.
force — 2013-06-16T12:13:30-04:00 — #7
It's usually better to figure out what's actually using those ports. They aren't typically used on home workstation.
jaagare — 2013-06-16T22:35:00-04:00 — #8
Mostly the ports are free but sometimes with applications or even Anti Virus / Firewall softwares installed they sometimes block these common ports. Most of the times I have found that changing the ports solves the issue on most machines
force — 2013-06-17T10:06:48-04:00 — #9
They block external access, yes. You would have to open those ports in the firewall to allow others to connect to webserver services.
However, these applications rarely block local access to these ports or even use these ports. The worst offenders I've seen using port 80 or 443 are are chat applications, such as Skype. In Skype, there is a special advanced setting to explicitly prevent Skype from using port 80 and 443.
picnictutorials — 2013-06-17T11:15:00-04:00 — #10
I use Wamp. May want to try that one.
ranjeet_jadhav — 2013-07-03T08:29:19-04:00 — #11
I have the problem about - How to install XAMPP on windows XP? I have brought XAMPP Win32-1.7.1 from a friend but not know how to install it on my computer, looking here for step-to-step guide to install it correctly.
I am newbie to the PHP web development.
2ninerniner2 — 2013-07-03T16:22:38-04:00 — #12
9 times out of 10 it is Skype that is causing the issue. As mentioned, changing local server packages won't fix the issue and generally, I like to keep my server ports unchanged.
Fire up Skype:
Tools > Options > Advanced > Connection > uncheck Use port 80 and 443 as alternatives for incoming connections > Save
foysalu9 — 2013-08-11T10:37:00-04:00 — #13
It works! Thank you so much for your tips. Be well.