title: PhantomJS throws "Unable to access network" in TeamCity
body: <p>I'm testing an AngularJS application and I've set up <a href="https://www.google.se/url?sa=t&amp;rct=j&amp;q=&amp;esrc=s&amp;source=web&amp;cd=1&amp;cad=rja&amp;uact=8&amp;ved=0CCEQFjAA&amp;url=http%3A%2F%2Fphantomjs.org%2F&amp;ei=E-svVbHHJOHfywPL2ICAAw&amp;usg=AFQjCNHjmSDDvf80K-7-PG7d3ghScyDhfA&amp;sig2=eI9Q8S9j8jFojzSD-3Cdyw&amp;bvm=bv.91071109,d.bGQ" rel="nofollow">PhantomJS 2.0</a> to be executed in my TeamCity configration together with <a href="http://jasmine.github.io/2.2/introduction.html" rel="nofollow">Jasmine 2.2</a>.</p>
  
  <p>The step in TeamCity is of type Command Line.
  It points to the PhantomJS executable, and has two parameters set:</p>
  
  <pre><code>path\to\run-jasmine.js other\path\specRunner.html
  </code></pre>
  
  <p>When the build step is executed I get the following error in TeamCity:</p>
  
  <blockquote>
    <p>"Unable to access network"</p>
  </blockquote>
  
  <p>I've also tried to run it locally with cmd:</p>
  
  <p><code>phantomjs.exe \different\path\run-jasmine.js other\path\specRunner.html</code></p>
  
  <p>However I get the same error message...</p>
  
  <p>Any ideas why this error is thrown? </p>