Hi all,
I'm working with the Luxonis OAK-D Pro Auto Focus and trying to connect to it using the gen2-poe-tcp-streaming example. I've set the camera's IP to be static at 192.168.68.126
, and I’m running the following setup:
The camera is connected to my router via Ethernet, and I’m also connected to the camera via the USB programming port for development.
I run the oak.py
script on the camera and try to connect using port 55551, but I keep getting a ConnectionRefusedError.
Here’s the error I get when running host.py
on the host machine:
$$
Traceback (most recent call last):
File "C:\Users\edens\PycharmProjects\OAK_Camera\depthai-experiments\gen2-poe-tcp-streaming\host.py", line 20, in <module>
sock.connect((OAK_IP, 55551))
ConnectionRefusedError: [WinError 10061] No connection could be made because the target machine actively refused it.
$$
Additional details:
The OAK camera has a static IP (192.168.68.126
), and I’m connected to it via USB.
Bootloader Warning: I’m seeing a warning about the OAK bootloader being version 0.0.25
, and an upgrade to 0.0.28
is advised. Could this be related to the connection issue?
I've tried connecting on both port 5000 and port 55551, but neither works.
Any suggestions on why the connection is being refused or if there’s anything else I need to configure?
Thanks in advance!