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

半腔热情 提交于 2019-12-03 05:48:45
xiaoyifang
  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.

Try using Bridged network option in vmware player instead of NAT. It replicates your physical network.

You can use an http proxy to do that, by doing that you don't need to expose your entire private network, check out this blog post for more information how to access docker containers from external devices

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!