Receiving telemetry from HereLink using pymavlink (python)

I am trying to receive Telemetry from HereLink in a python script using pymavlink or dronekit and I am getting error OSError: [Errno 99] Cannot assign requested address.
I am connected to the HereLink hotspot and using the url to connect the telemetry.
I am able to connect to the telemetry using ardupilot but pymavlink fails to connect.

The pymavlink python code
from pymavlink import mavutil
drone = mavutil.mavlink_connection(‘udpin:’)

The dronekit python code
from dronekit import connect
drone = connect(‘’, wait_ready=True)
print(“Mode: %s” %

Did you ever get this to work?

Where did you insert this code ?