Connection problems between URsim docker and ROS2 without the real robot

I’m trying to connect URSim to the external control without the actual robot. I use docker
The process I’m running is:

  • ros2 run ur_client_library start_ursim.sh -m ur3
  • Open docker htt://192.168.56.101:6080/vnc
  • ros2 launch ur_robot_driver ur_control.launch.py ur_type:=ur3 robot_ip:=192.168.56.101 launch_rviz:=false use_fake_hardware:=true

when I try to connect from the URSim I get the error

  • The conection to the remote PC at 192.168.56.1:50004 could not be estable. Reason: Conection refused


I am using virtuabox with ubuntu 22.04

thank you very much for the help

1 Like