<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>The Accidental Developer &#187; xp</title>
	<atom:link href="http://osric.com/chris/accidental-developer/tag/xp/feed/" rel="self" type="application/rss+xml" />
	<link>http://osric.com/chris/accidental-developer</link>
	<description>What if Gregor Samsa awoke a computer programmer?</description>
	<lastBuildDate>Tue, 25 May 2010 20:21:33 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Apache Install and Ambiguous Errors</title>
		<link>http://osric.com/chris/accidental-developer/2009/07/apache-error-only-one-usage-of-each-socket-address/</link>
		<comments>http://osric.com/chris/accidental-developer/2009/07/apache-error-only-one-usage-of-each-socket-address/#comments</comments>
		<pubDate>Thu, 02 Jul 2009 21:39:34 +0000</pubDate>
		<dc:creator>Chris Herdt</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[skype]]></category>
		<category><![CDATA[xp]]></category>

		<guid isPermaLink="false">http://osric.com/chris/accidental-developer/?p=177</guid>
		<description><![CDATA[I installed Apache 2.2.11 on the Windows XP portion of my desktop workstation for development purposes, but I got a lot of ambiguous errors when starting from the Apache Service Monitor or the Windows start menu.
Finally, when I started Apache from the command line I got a more informative error:
(OS 10048) Only one usage of [...]]]></description>
			<content:encoded><![CDATA[<p>I installed Apache 2.2.11 on the Windows XP portion of my desktop workstation for development purposes, but I got a lot of ambiguous errors when starting from the Apache Service Monitor or the Windows start menu.</p>
<p>Finally, when I started Apache from the command line I got a more informative error:<br />
(OS 10048) Only one usage of each socket address (protocal/network address/port) is normally permitted. : make_sock: could not bind to address 127.0.0.1:80 no listening sockets available, shutting down</p>
<p>It turns out, I had Skype running, which by default binds to ports 5520, 80, and 443. There are several solutions:<br />
<span id="more-177"></span></p>
<ol>
<li>Quit Skype and don&#8217;t run Skype and Apache at the same time. Not ideal, but it works.</li>
<li>Change which port Apache uses. In your Apache2/conf/httpd file, change the line &#8220;Listen 80&#8243; to something like &#8220;Listen 8888&#8243;. Apache should start, but you&#8217;ll need to access it via http://localhost:8888 instead of merely http://localhost</li>
<li>Change which ports Skype uses for incoming connections. Go to <em>Tools&#8211;Options&#8211;Advanced&#8211;Connection</em> and un-check the box next to &#8220;Use port 80 and 443 as alternatives for incoming connections.&#8221;</li>
</ol>
<p>As far as I can tell, the last option has no ill-effect on Skype, although it might if your firewall or router is blocking port 5520.</p>
<p>I ended up installing Apache 2.0 in addition to Apache 2.2, as I was having trouble with mod_perl with the latter. I ran into the same issue there as well, and once I quit Skype I was able to start Apache.</p>
<p>Strangely enough, I now seem to have both Skype and Apache running and both listening on port 80, so perhaps I&#8217;ve misdiagnosed the problem completely.</p>
]]></content:encoded>
			<wfw:commentRss>http://osric.com/chris/accidental-developer/2009/07/apache-error-only-one-usage-of-each-socket-address/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>
