I would like to connect to QNX Neutrino OS (qconn) running on the VirtualBox from the Momentics IDE running on the Windows 7 (the same computer) via IP on 8000 port. I tried to get IP address of this virtual machine, and it seems to be the same as my real machine's and it doesn't work on it. Thank you in advance for your help.
So, just to clarify:
First, have the network type for your QNX OS VM set to NAT (Network Address Translation). Then, you need to setup port forwarding (please see this URL: http://www.rustyrazorblade.com/2010/12/virtualbox-4-nat-port-forwarding-gui/).
Once you've finished, you should be able to connect from the Momentics IDE in Windows 7 to the QNX VM by specifying the following QCONN target in Momentics:
Target: 127.0.0.1:8000 HOSTNAME: QNX_NTO
The forwarding you setup will cause all connections to 127.0.0.1:8000 (the Windows host loopback connection) on port 8000 to be automatically redirected to your QNX VM.
I've done this myself and it worked. Hope this helps for you.
Cheers!