Pynetdicom Across Virtual Machine with Port Forwarding
See original GitHub issueDescription
QUESTION - How to access PACs server on Virtual Machine?
I have a linux box running on Virtual Box where i have setup Conquest Open Source PAC server. https://ingenium.home.xs4all.nl/dicom.html
Using pynetdicom on the virtual machine i can connect the to server and retrieve data. Then i have setup Port Forwarding on the VirtualBox instance so i should be able to access it from my local machine. Indeed, a connection is established, but no data is returned.
This is the script being run - https://pastebin.com/7tuqaX39
Expected behaviour
The connection is established and query status returns 0xff00, data is returned, status returns 00x000 and the connection is released.

Actual behaviour
The connection is established and query status returns 0x000 and the connection is released.

Association Established C-MOVE query status: 0x0000 Association Released
Steps to reproduce
Install conquest on linux virtual machine. Setup port forwarding. Run this script from the host machine - https://pastebin.com/7tuqaX39
Your environment
Please run the following and paste the output.
$ python -c "import platform; print(platform.platform())"
$ python -c "import sys; print('Python', sys.version)"
$ python -c "import pydicom; print('pydicom', pydicom.__version__)"
$ python -c "import pynetdicom; print('pynetdicom', pynetdicom.__version__)"
On the host machine
python -c "import platform; print(platform.platform())"
Darwin-18.2.0-x86_64-i386-64bit
python -c "import sys; print('Python', sys.version)"
Python 3.6.1 |Anaconda custom (64-bit)| (default, May 11 2017, 13:04:09)
[GCC 4.2.1 Compatible Apple LLVM 6.0 (clang-600.0.57)]
python -c "import pydicom; print('pydicom', pydicom.__version__)"
pydicom 1.2.1
python -c "import pynetdicom; print('pynetdicom', pynetdicom.__version__)"
pynetdicom 1.1.0.dev0
On the Virtual Machine

Issue Analytics
- State:
- Created 5 years ago
- Comments:20 (11 by maintainers)

Top Related StackOverflow Question
Looking at your script the first part is for a C-FIND request, not C-MOVE. Is that correct? If so then I have no explanation on why you’re not getting any (0xFF00) pending responses before the (0x0000) success response. The simple fact that you are getting a success response tells me that everything on the pynetdicom side is working as expected, so I suspect its an SCP config issue.
Assuming thats the case:
If both those points are OK, could you run the SCU with a debug log level and post the output?
So are you happy that things are working as expected? Can I close the issue?