HOWTO port-forward services running in VM

How to port forward the services running in your VM?

  1. Forward the ports: either choose “Bridged connection”, or “NAT” and add specific ports you want to forward
    http://www.virten.net/2013/03/how-to-setup-port-forwarding-in-vmware-workstation-9/
  2. If you use VMPlayer and somehow cannot get to the network editor (in Windows), run this (as administrator):
    $ rundll32.exe vmnetui.dll VMNetUI_ShowStandalone
  3. Make sure the firewall on both the guest OS and the host OS allow the traffic/access you are forwarding.
  4. Access the service through the host OS’ IP address
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s