For the umpteenth time I’ve decided to pick back up running XAMPP and CakePHP. I’m still somewhat of a PHP newbie but I figured what the hell, Once more into the breach.
I’ve kept a load of XAMPP on my USB stick for just such an occasion. So I fire it up, start Apache and it fails. Over and over. I figure that I’ve broken it somehow. In the past I’ve had this problem with drive letters changing so I figure that’s the problem. I diligently pour through my configs and everything appears to be well.
Ok, I decide. Let’s update to the latest version of XAMMP. A quick download later and I’ve got it copied to the same USB stick. Let’s do this, I mutter.
Same problem.
After some troubleshooting I finally get an error from Apache.
\xampp\apache\bin>apache.exe -k restart -k f:\xampp\apache\conf\httpd.conf
(OS 10048)Only one usage of each socket address (protocol/network address/port)
is normally permitted. : make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Interesting…no sockets available? I quickly snapped off a message to Damon for a little Apache know-how. He concurs that it looks like something is using port 80, my default Apache port.
With a little DOS command-line magic (again courtesy of Damon):
netstat -ano | find ":80"
Lo and behold…Skype. By default Skype turns on an option to use ports 80 and 443 for communication in case the other 8,308,234 ports aren’t available. (I know, there are only 65535 ports available in TCP but just go with it.)
Who knew?
Due to the advancement in the technology communications throughout the world has become very fast and easy. People are now communicating with each other not only via telephone but also through internet. The new technology used in this respect is internet telephone. Many companies are using services like voip services to communicate around the globe. They have to install internet voip protocol to implement this over the network. There is much software which supports internet phone system. You can get this free from internet. The example of this is skype download able software.







4 users commented in " XAMPP and Skype… "
Follow-up comment rss or Leave a TrackbackBrilliant. Save me tons of time.
Glad to hear it, Juslin. I was beating my head against the wall for a while there!
i dunno, maybe apache should load first before skype… this way skype realizes those ports weren’t available anymore once it was taken by apache… it’s weird it was just the first time it happened to me since i first installed xampp, which was 2 years ago…
After you ran the DOS command to find all :80 ports, how did you know that it was skype that was using that port?? I did exactly as you did and this is what i got (just the first line):
TCP 0.0.0.0:80 0.0.0.0:0 LISTENING 4372
it doesn’t say skype or anthing which points to it. in addition, i already have skype’s use of port 80/443 disabled, and yet it doesn’t work and tells me that the socket is being used.
Leave A Reply