none
On VMM managed cluster hosts, I can't figure out why most of my hosts answer port 5900 and the others 2179, but not both

    Question

  • Below, you see a netcat list of my hosts.  Most are answering port 5900, but not 2179.  The list on the bottom is answering 2179, but not 5900.  I need to know for 3 reason why this is, (1) to setup our enterprise firewall, (2) for port health monitoring of our hosts, and (3) just what is going on.  I thought that 2179 should be open on all hosts, and that 5900 was only used in legacy cases (at least from what I read from googling around).  Why aren't all of my hosts answering 2179?

    My hosts are all Server 2008 R2 Datacenter SP1 64-bit.  We have a mix of VMs with Server 2008 R2, Win7, and RHEL6, all 64-bit.

    Most answering 5900...
    [lhco-mshv01] Connection to lhco-mshv01 5900 port [tcp/vnc-server] succeeded!
    [lhco-mshv02] Connection to lhco-mshv02 5900 port [tcp/vnc-server] succeeded!
    [lhco-mshv03]
    [lhco-mshv05] Connection to lhco-mshv05 5900 port [tcp/vnc-server] succeeded!
    [lhco-mshv06]
    [lhco-mshv07]
    [lhco-mshv08] Connection to lhco-mshv08 5900 port [tcp/vnc-server] succeeded!
    [lhco-mshv09] Connection to lhco-mshv09 5900 port [tcp/vnc-server] succeeded!
    [lhco-mshv10]
    [lhco-mshv11] Connection to lhco-mshv11 5900 port [tcp/vnc-server] succeeded!
    [lhco-mshv12] Connection to lhco-mshv12 5900 port [tcp/vnc-server] succeeded!
    [lhco-mshv13] Connection to lhco-mshv13 5900 port [tcp/vnc-server] succeeded!
    [lhco-mshv14] Connection to lhco-mshv14 5900 port [tcp/vnc-server] succeeded!
    [lhco-mshv16]
    [lhco-mshv17]
    [lhco-mshv18] Connection to lhco-mshv18 5900 port [tcp/vnc-server] succeeded!
    [lhco-mshv19] Connection to lhco-mshv19 5900 port [tcp/vnc-server] succeeded!
    [lhco-mshv20]
    [lhco-mshv21]
    [lhco-mshv22] Connection to lhco-mshv22 5900 port [tcp/vnc-server] succeeded!
    [lhco-mshv23] Connection to lhco-mshv23 5900 port [tcp/vnc-server] succeeded!
    [lhco-mshv24] Connection to lhco-mshv24 5900 port [tcp/vnc-server] succeeded!
    [lhco-mshv25] Connection to lhco-mshv25 5900 port [tcp/vnc-server] succeeded!
    [lhco-mshv26] Connection to lhco-mshv26 5900 port [tcp/vnc-server] succeeded!
    [lhco-mshv27] Connection to lhco-mshv27 5900 port [tcp/vnc-server] succeeded!

    The others are answering 2179...
    [lhco-mshv01]
    [lhco-mshv02]
    [lhco-mshv03] Connection to lhco-mshv03 2179 port [tcp/vmrdp] succeeded!
    [lhco-mshv05]
    [lhco-mshv06] Connection to lhco-mshv06 2179 port [tcp/vmrdp] succeeded!
    [lhco-mshv07] Connection to lhco-mshv07 2179 port [tcp/vmrdp] succeeded!
    [lhco-mshv08]
    [lhco-mshv09]
    [lhco-mshv10] Connection to lhco-mshv10 2179 port [tcp/vmrdp] succeeded!
    [lhco-mshv11]
    [lhco-mshv12]
    [lhco-mshv13]
    [lhco-mshv14]
    [lhco-mshv16] Connection to lhco-mshv16 2179 port [tcp/vmrdp] succeeded!
    [lhco-mshv17] Connection to lhco-mshv17 2179 port [tcp/vmrdp] succeeded!
    [lhco-mshv18]
    [lhco-mshv19]
    [lhco-mshv20] Connection to lhco-mshv20 2179 port [tcp/vmrdp] succeeded!
    [lhco-mshv21] Connection to lhco-mshv21 2179 port [tcp/vmrdp] succeeded!
    [lhco-mshv22]
    [lhco-mshv23]
    [lhco-mshv24]
    [lhco-mshv25]
    [lhco-mshv26]
    [lhco-mshv27]





    Friday, March 07, 2014 5:15 PM

All replies

  • I guess that I am confused.

    Your Windows machines would respond on 2179 / 3389

    and you obviously have VNC Server running on the other machines.  Windows will not have VNC server unless you add it, but Linux has it built in (again, if it is added as it isn't default there either).

    Are the missing VMs in the list powered on?


    Brian Ehlert
    http://ITProctology.blogspot.com
    Learn. Apply. Repeat.
    Disclaimer: Attempting change is of your own free will.

    Friday, March 07, 2014 6:05 PM
  • Brian,

    This is specifically related to Hyper-V hosts, where the following ports may be used by the VMM to communicate to each host:
    VMConnect (RDP) to Hyper-V hosts 2179
    VMRC connection to Virtual Server host 5900

    These ports are outlined here...

    technet.microsoft.com/en-us/library/cc764268.aspx

    I am not running independent VNC servers on my hosts.  They are VMRC ports.  My confusion is why some of my hosts are only answering 2179, while the others are only answering 5900, but not both ports on all hosts (or for that matter just 2179 on all hosts).


    • Edited by Phraugher Friday, March 07, 2014 6:36 PM
    Friday, March 07, 2014 6:34 PM