Sending UDP messages from Win7 VM to OSX...

Discussion in 'Windows Virtual Machine' started by apalomba, Jan 26, 2012.

  1. apalomba

    apalomba Bit poster

    Messages:
    8
    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
     
  2. apalomba

    apalomba Bit poster

    Messages:
    8
    Anyone out there know anything about networking with a Win7 VM?
     
  3. apalomba

    apalomba Bit poster

    Messages:
    8
    Please, does anyone out there know how to send data to a Win7 VM via IP address and port?
     
  4. Specimen

    Specimen Product Expert

    Messages:
    3,236
    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.
     
  5. apalomba

    apalomba Bit poster

    Messages:
    8
    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.
     

Share This Page