title: How do I access localhost ports on a virtual pc?
body: <p>I've downloaded and installed the Microsoft Virtual PC and Windows XP mode image for testing IE6. I have several projects on localhost that I access by port numbers in my vhosts file, for example:</p>
  
  <pre><code>Listen *:82
  &lt;VirtualHost *:82&gt;
      DocumentRoot "path/to/htdocs/project-folder/public/"
  &lt;/VirtualHost&gt;
  </code></pre>
  
  <p>In the virtual machine I have changed the hosts file so that <code>http://mymachine</code> redirects to my root localhost directory (equivalent to <code>http://localhost:80/</code>).</p>
  
  <p>How do I set up the virtual machine so that <code>http://project-n/</code> goes to the correct localhost port? And sadly, <code>http://mymachine:82/</code> doesn't do the job =(</p>