Connection between QGroundControl and PX4sitl

ı am beginner about using QGroundControl. ı cant solve this problem:
Firstly , on virtual machine ,I write on terminal “make px4_sitl gazebo” (in src/Firmware depencies) . after that , i run QGroundControl on my windows 10 PC . On QgroundControl->Settings/Link section, ı select udp protocol and ı write my virtualmachine ip adress. however, QGroundControl dont connect with PX4 sitl. how can ı solve this connection problem?