Hi,
The first question is that, are you trying to connect from the same Windows machine, or from another computer?
If your virtual machine has Host-Only network or NAT, you won’t be able to access the simulator from another computer without additional tricks.
If your packet sender program is on the same Windows machine, check that you use the correct IP address. Can you PING the virtual machine?
According to my former experiences with NAT in virtual machine, you need to add port forwarding in order to access the virtual machine from another computer.
Have you tried forwarding the TCP port 29999 to your host machine as described below?