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 192.168.43.1:14550 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:192.168.43.1:14550’)
drone.wait_heartbeat()
print(drone.target_system)

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

Did you ever get this to work?

Where did you insert this code ?