# VNC Ports, Config with vCenter question and ON 14.2

**URL:** <https://forum.opennebula.io/t/vnc-ports-config-with-vcenter-question-and-on-14-2/1003>\
**Category:** Product Support\
**Created:** [July 15, 2015, 5:10pm UTC](https://forum.opennebula.io/t/vnc-ports-config-with-vcenter-question-and-on-14-2/1003 "2015-07-15T17:10:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![cloudmonkey](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/cloudmonkey/32/4427_2.png) [@cloudmonkey](https://forum.opennebula.io/u/cloudmonkey)\
**Post date:** [July 15, 2015, 5:10pm UTC](https://forum.opennebula.io/t/vnc-ports-config-with-vcenter-question-and-on-14-2/1003/1 "2015-07-15T17:10:49Z")

</div>

Hello,

So after much reading of these forums and googling, We have a few queries re the VNC access to a vSphere environment. After some experimentation, we now have ON connected to our vcenter and with an edited VM ( RemoteDisplay.vnc.\* settings ) we now have the console icon.

It fails with:  
VNC Server disconnected (code: 1006)

Does each VM need it’s own VNC port? VM 1: 5901, VM2: 5902… etc.  
Is a custom firewall rule required for each ESXi host or does it pull via VCMS?  
Do we need additional tweaks if Opennebula is public facing with a vSphere environment on a private network behind it, in order to view the consoles?

Thanks,

James

vSphere 5.5 u2, CentOS 7, Opennebula 4.12

---

<div class="post-metadata">

**Author:** ![tinova](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/tinova/32/25_2.png) [@tinova](https://forum.opennebula.io/u/tinova)\
**Post date:** [July 17, 2015, 11:08am UTC](https://forum.opennebula.io/t/vnc-ports-config-with-vcenter-question-and-on-14-2/1003/2 "2015-07-17T11:08:22Z")

</div>

For VNC to work properly:

- Please install VMware tools in the guest OS.

- To enable VNC functionality for vOneCloud, repeat the following procedure for each ESX:

---

<div class="post-metadata">

**Author:** ![cloudmonkey](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/cloudmonkey/32/4427_2.png) [@cloudmonkey](https://forum.opennebula.io/u/cloudmonkey)\
**Post date:** [July 19, 2015, 11:54am UTC](https://forum.opennebula.io/t/vnc-ports-config-with-vcenter-question-and-on-14-2/1003/3 "2015-07-19T11:54:48Z")

</div>

The predominant question was whether every VM needs it’s own VNC port? I have enabled those rules already with no success, hence my reason for posting the question.
