title: WSGIServerException: [Errno 8] nodename nor servname provided, or not known
body: <p>I am getting this error intermittently but when it happens my automated integration testing using Django's LiveServerTestCase comes to a screeching halt throwing the following error:</p>
  
  <pre><code>WSGIServerException: [Errno 8] nodename nor servname provided, or not known
  </code></pre>
  
  <p>The failure comes as soon as the main test class is instantiated from any given test (this happens after the in-memory db is created and my fixtures are loaded).</p>
  
  <p>My setup is as follows:</p>
  
  <ul>
  <li>Mac OSX Snow leopard</li>
  <li>Django 1.4.1</li>
  <li>Virtual environment (housing all Python libraries)</li>
  <li>sqlite (for testing) MySQL/InnoDB for production</li>
  <li>Local Git branches housing code</li>
  </ul>
  
  <p>So far, this error only occurs while testing on our LAN at my office.  At home, tests run just fine but then again tests run fine at my work for a time, hence the intermittent frustration.</p>
  
  <p>In the vein of troubleshooting I have created a new virtualenv, removed all .pyc files system wide, reinstalled MySQL from source as well as all required libraries.</p>
  
  <p>If anyone has come across this error and knows how to beat it, please share.</p>
  
  <p>Thanks</p>