Using DV-Runtime to remote access a camera

114 views
Skip to first unread message

Moisés Felipe

unread,
Sep 20, 2022, 6:52:22 PM9/20/22
to dv-users
I managed to  launch DV-Runtime with a Remote GUI and now, on the machine running the remote GUI, I want to make some networking with my own python program.

I followed the instructions to create a tcp client on the GUI to stream the data to my python code but I keep getting "connection actively refused" error. I know the tcp client works if the camera is directly connected to the workstation running the GUI, but is not working when the GUI is connected to a camera remotely.
How could make this work? is there an option that doesn't involve using the GUI?

Thanks

Luca Longinotti

unread,
Sep 21, 2022, 5:43:15 AM9/21/22
to dv-u...@googlegroups.com
Hello,

you need to make sure the remote DV TCP server is listening on the actual external interface, the easiest way is to make sure the listening IP address is set to 0.0.0.0 so it listens on all network interfaces.
Also make sure there's no firewalls or any other network blocking on both sides.

Hope this helps, have a nice day!
-- 
Luca Longinotti (llongi)

Head of Embedded Platforms
iniVation AG - https://inivation.com/
Zurich, Switzerland
Office: +41 44 500 32 14

Sana ullah

unread,
Sep 5, 2023, 4:53:53 AM9/5/23
to dv-users
Hi, could you please provide instructions, how you were enable to run remote DV-GUI. Thanks

jonatan....@gmail.com

unread,
Sep 13, 2023, 4:09:39 AM9/13/23
to dv-users
Hi, 
Connect with remote Client with startup script changes:
1) Change the IP address from 127.0.0.1 (listen on local host only) to 0.0.0.0 in the startup scripts at /usr/lib/systemd/system/dv-runtime.service or /etc/init.d/dv-runtime

Connect with remote Client via dv-gui:
1) Open dv
2) Under tab "Connect to" - deselect "Manage local runtime instances"
3) Press "Connect to remote runtime"
4) In the pop-up box. Enter the Address and Port (default 4040) to the client that is running the remote runtime.  

See more here:

Best,
Jonatan

Reply all
Reply to author
Forward
0 new messages