I didn’t manage to connect so far, these are the instructions I’ve followed:
https://www.universal-robots.com/articles/ur/interface-communication/connecting-to-client-interfaces-within-ursim/