title: OrientDB - unable to read from socket
body: <p>I want to use OrientDB to store some data on a server, localhost for now. Using the official library from <a href="https://github.com/orientechnologies/PhpOrient" rel="nofollow">https://github.com/orientechnologies/PhpOrient</a>. 
  However, when trying to connect I get the following failure message: </p>
  
  <pre><code>Fatal error: Uncaught exception 'PhpOrient\Exceptions\SocketException' with message 
  'socket_read(): unable to read from socket [104]: Connection reset by peer' in 
  /Library/WebServer/Documents/T1/vendor/ostico/phporient/src/PhpOrient/Protocols/Binary/OrientSocket.php on line 147
  </code></pre>
  
  <p>What can be wrong? I can connect and go into to the OrientDB Studio on localhost:2480, but here something seems to be going wrong. </p>
  
  <pre><code>&lt;?php 
  require "../vendor/autoload.php";
  use PhpOrient\PhpOrient;
  
  $client = new PhpOrient( 'localhost', 2480 );
  $client-&gt;connect('root','pwd'); 
  echo "1";
  $client-&gt;dbList();
  ?&gt;
  </code></pre>