title: DCM4CHE Tools, dcmqrscp and movescu
body: <p>Hi I'm trying to make a PACS server using java. I'm very new to pacs, dicom and the library dcm4che. I couldn't find a proper tutorial or examples so i cloned the whole project from github and examine dcmqrscp tool. But i've few troubles with it.</p>
  
  <p><strong>Tools</strong> </p>
  
  <p>First of all i start dcmqrscp with following parameters, i can successfully use and save dcm file with storescu</p>
  
  <pre><code>dcmqrscp -b c0@localhost:26100 -dicomdir D:\dcmqrscp\dcmdir
  </code></pre>
  
  <p>But when i run movescu server throws java.net.ConnectException. These are my start parameters.</p>
  
  <pre><code>movescu -c c0@localhost:26100 -m StudyInstanceUID=1.2.840.113619.2.30.1.1762295590.1623.978668949.886 --dest STORESCP
  </code></pre>
  
  <p>What am i missing here?</p>
  
  <p>Here's my cmd screens.
  <a href="https://i.stack.imgur.com/pgVBJ.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/pgVBJ.jpg" alt="dcmqrscp - 1"></a></p>
  
  <p><a href="https://i.stack.imgur.com/Q2XHG.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Q2XHG.jpg" alt="dcmqrscp - 2"></a></p>
  
  <p><a href="https://i.stack.imgur.com/YXD0u.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/YXD0u.jpg" alt="movescu - 1"></a></p>
  
  <p><a href="https://i.stack.imgur.com/0XX9E.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0XX9E.jpg" alt="movescu - 2"></a></p>