Connection to Remote SCP Error

47 views
Skip to first unread message

Animesh Srivastava

unread,
May 30, 2019, 2:23:19 AM5/30/19
to dcm4che

Hi All,
I am trying to perform mpps workflows using mppsscu of dcm4che. 
It works perfectly if the scp is in the same system as that of mppsscu, but if the SCP is running on a remote system (in the same network and is accessible) then it's not able to connect.

Command used with mppsscu binary : mppsscu -c SCP1@<Remote_System_IP>:<Port on which SCP is running in remote system> \\Yy083078\joe-head-temp

Error message : 
Scanning files
Scanning files
.......................11:47:02,919 INFO  - Initiate connection from 0.0.0.0/0.0.0.0:0 to <Remote_System_IP>:<Port on which SCP is running in remote system>
mppsscu: Connection refused: connect
java.net.ConnectException: Connection refused: connect
        at java.net.DualStackPlainSocketImpl.connect0(Native Method)
        at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:79)
        at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350)
        at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206)
        at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
        at java.net.Socket.connect(Socket.java:589)
        at org.dcm4che3.net.Connection.connect(Connection.java:965)
        at org.dcm4che3.net.ApplicationEntity.connect(ApplicationEntity.java:609)
        at org.dcm4che3.net.ApplicationEntity.connect(ApplicationEntity.java:626)
        at org.dcm4che3.tool.mppsscu.MppsSCU.open(MppsSCU.java:545)
        at org.dcm4che3.tool.mppsscu.MppsSCU.main(MppsSCU.java:402)


If anyone knows a way to connect to remote SCP's then please reply, it'll be really helpful.

Regards,
Animesh

Arnold Maderthaner

unread,
Jun 3, 2019, 9:08:55 AM6/3/19
to dcm4che
no butty is listening on the other port

Arnold Maderthaner

unread,
Jun 3, 2019, 9:09:25 AM6/3/19
to dcm4che
no body is listening on the other port


Am Donnerstag, 30. Mai 2019 08:23:19 UTC+2 schrieb Animesh Srivastava:

Animesh Srivastava

unread,
Jun 18, 2019, 4:49:42 AM6/18/19
to dcm4che
Hi Arnold,
I have a scp running on that port
Reply all
Reply to author
Forward
0 new messages