<p>I'm running WAMP v2.0 on WindowsXP and I've got a bunch of virtual hosts setup in the http-vhosts.conf file.</p>

<p>This was working, but in the last week whenever I try &amp; start WAMP I get this error in the event logs:</p>

<blockquote>
  <p>VirtualHost *:80 -- mixing * ports and
  non-* ports with a NameVirtualHost
  address is not supported, proceeding
  with undefined results.</p>
</blockquote>

<p>and the server won't  start.  I can't think of what's changed.  </p>

<p>I've copied the conf file below.</p>

<pre><code>NameVirtualHost *
&lt;VirtualHost *:80&gt;
    ServerName dev.blog.slaven.net.au
    ServerAlias dev.blog.slaven.net.au
    ServerAdmin user@host.com
    DocumentRoot "c:/Project Data/OtherProjects/slaven.net.au/blog/" 
    ErrorLog "logs/blog.slaven.localhost-error.log"
    CustomLog "logs/blog.slaven.localhost-access.log" common

    &lt;Directory "c:/Project Data/OtherProjects/slaven.net.au/blog/"&gt;
        Options Indexes FollowSymLinks MultiViews
        AllowOverride all
            Order allow,deny
        Allow from all
    &lt;/Directory&gt;
&lt;/VirtualHost&gt;
</code></pre>

<p><strong>EDIT:</strong> I meant to add, if I change the NameVirtualHosts directive to specify a port, i.e</p>

<pre><code>NameVirtualHost *:80
</code></pre>

<p>I get this error:</p>

<blockquote>
  <p>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   </p>
</blockquote>

[{'answer_id': 39287, 'author': 'dguaraglia', 'author_id': 2384, 'author_profile': 'https://Stackoverflow.com/users/2384', 'pm_score': 0, 'selected': False, 'text': '<p>Well, it seems the problem there is the way (and order) in which you assign the ports. </p>\n\n<p>Basically, *:80 means "use port 80 for all hosts in this configuration". When you do this, Apache tries to bind that host to 0.0.0.0:80, which means that host will receive every single packet coming to the machine through port 80, regardless of what virtual host it was intended to go to. That\'s something you should use only once, and only if you have <em>one</em> host in that configuration.</p>\n\n<p>Thus, if you have the same *:80 directive on two hosts in the configuration file, the server won\'t load because it will try to bind 0.0.0.0:80 twice, failing on the second try. (which explains the "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" message).</p>\n'}, {'answer_id': 39321, 'author': 'nohj', 'author_id': 2953, 'author_profile': 'https://Stackoverflow.com/users/2953', 'pm_score': 3, 'selected': True, 'text': '<blockquote>\n  <p>NameVirtualHost *:80</p>\n  \n  <p>I get this error:</p>\n  \n  <p>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</p>\n</blockquote>\n\n<p>I think this might be because you have somthing else listening to port 80. Do you have any other servers (or for example Skype) running?</p>\n\n<p>(If it was Skype: untick "Tools > Options > Advanced > Connection > Use port 80 and 443 as alternatives for incoming connections")</p>\n'}]
['https://Stackoverflow.com/questions/39006', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/2975/']