Hey folks, I am trying to send UDP messages from my Win7VM to OSX. I have opened a port 127.0.0.1:5000 in Win7 and am attempting to write something to it. The problem is OSX is not seeing any data coming in on that port. If I my Win7VM is sending data out on 127.0.0.1:5000, does that mean that I should be listening on 127.0.0.1:5000? Or is there some other IP address that is the address of the OSX host? Thanks, Anthony
Although the virtual machine is running on the same hardware you should think of it as a separate machine, so, to contact the VM via network you have to know its IP like you would in a real environment. I suggest you run ifconfig inside windows, or look at the network settings to see what is the ip of the machine. Also, refer to Parallels desktop documentation to learn more about how networking works and its settings.
Okay so after reading up on the different network modes, I discovered that Bridged network is what I need. After setting it to Bridged, my Win7 VM application was able to send UDP data on a specific port to my host Mac app listening on that port. The only thing to remember is that the bridge is to a specific network device.