Setting endpoints in Pub/Sub in rclpy ROS2
I am trying to run the demo example from rclpy client library .
My question is I am able to run the publisher and subriber example from the client library on the same machine. But Now I want to run these two on different machine for example I want to run my publisher on my windows host machine and the listener on Linux vitrual machine. Where can I set the endpoints for pub&sub in rclpy lib so that my publisher on windows can send data to the listener running on Linux VM.
Any help would be appreciated.