title: py2neo.packages.httpstream.http.SocketError: Connection refused
body: <p>When I try to run the python file “joern-plot-ast” and output some result in the database Neo4j， I got the error "py2neo.packages.httpstream.http.SocketError: Connection refused".</p>
  
  <pre><code>use neo4j version: 2.1.8.
  python version:2.7.
  py2neo:2.0
  
  String cmd1 = "echo \'queryNodeIndex(\"type:Function\").id\' | " +
  
  "python /home/sun/下载/joern-tools/build/scripts-2.7/joern-lookup -g |  " +
  
  "python /home/sun/下载/joern-tools/build/scripts-2.7/joern-plot-ast | " +
  
  "python /home/sun/下载/joern-tools/build/scripts-2.7/joern-astlabel |  " +
  
   "python /home/sun/下载/joern-tools/build/scripts-2.7/joern-ast2features &gt;" + outputfilename;
  
  Process joernscripts = dbTime.exec((new String[]{"/bin/sh","-c", cmd1}));
  
  joernscripts.waitFor(); BufferedReader br5 = new BufferedReader(new InputStreamReader(joernscripts.getInputStream())); 
  
  while(br5.ready())
  System.out.println(br5.readLine());
  </code></pre>
  
  <p>Actual results: see the pic.</p>
  
  <p><a href="https://i.stack.imgur.com/xdnBY.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/xdnBY.jpg" alt="enter image description here"></a></p>