using VMWare Player 5, how can I access a web server running in a VM via an external machine?

前端 未结 3 1428
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-02-07 20:30

Win7 PC running Rails in an Ubuntu VM via VMWare Player. I\'m working on a site and would like to show it to a friend who\'s outside my network.

I found this blog post,

3条回答
  •  一生所求
    2021-02-07 20:47

    1. Find the vmnetnat.conf file, usually located in

      C:\ProgramData\VMware\vmnetnat.conf
      

      or

      C:\Users\Application Data\VMware\vmnetnat.conf
      
    2. Edit vmnetnat, add similar line in the [incomingtcp] section

      8200=192.168.198.184:3000
      
    3. Restart VMware NAT Service.

提交回复
热议问题