How is virtual machine port opening works

Posted by Xianlin on Server Fault See other posts from Server Fault or by Xianlin
Published on 2012-04-13T01:59:16Z Indexed on 2012/04/13 5:33 UTC
Read the original article Hit count: 440

I have a question regarding VM port.

Say I have a Virtual Machine and a Host Machine. The opening ports on Host are 80, 22, 443 only. if I opened ports 80, 22, 443 VM it should be working. However if I opened port 21 on VM, will it work? If it works, does it mean the port 21 on Host is opened also?

My understanding is that the network traffic goes from VM's virtual network adapter to Host's physical network adapter. So the ports on these 2 network adapters should match. Am I correct to say this?

© Server Fault or respective owner

Related posts about virtualization

Related posts about virtual-machines