I am really confused about the behavior of hyper-v virtual machines. We are using a Hyper-V host with 6 virtual machines for an app with docker containers. 3 of them are running Windows Server 2012 and the rest are running Windows Server 2016 The problem is, we allow a port through the firewall, then start the container bound to that port but we cannot access the through Internet. We can access through VPN just fine. The container's firewall rules are ok too.

I am guessing it is the host's firewall configuration. Should the host also allow the connections to the guest virtual machine, or could it be another problem? How can I validate that the ports are open and this is a host-machine issue?

We have very limited knowledge of the underlying server infrastructure as we rent from a third party. The machine is dedicated but we do not have access to the hyper-v settings, nor the bare-metal. As working with support tickets is really slow, is there a way to access the hyper-v host settings through the VM, or some steps to take to disable host's interference with the guest machine firewall settings?

  • I am guessing it is the host's firewall configuration - It isn't. – joeqwerty Jan 30 '18 at 12:14
  • 1
    Oh? So any idea what could be the problem? Maybe Server-farm's hardware firewall? – Yamaç Kurtuluş Jan 30 '18 at 12:22

Actually, Hyper-V guests do not depend on the host firewall configuration. I can suggest you check your domain/group firewall configuration. However, you can try check Virtual Switch firewall settings.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.