Firewall settings for VirtualBox remote display

This post is about how to configure the Windows 7 firewall to allow VirtualBox Remote Display. I had a long running process running in a virtual machine that I wanted to monitor from another machine while I was working on other things. I started by opening the settings for my virtual machine and navigating to Display->Remote Display and enabling the server.
VirtualBox Machine Display Settings for Remote Display

When I tried to use remote desktop from another machine on the same local network I was unable to connect. My first thought was to enable the Remote Desktop rules already present within the Windows Firewall.
Windows 7 Firewall incoming rules for Remote Desktop

However this also resulted in a connection error. To resolve the issue I had to allow VirtualBox to accept incomming connections.
Windows 7 Firewall incoming rules for VirtualBox

To create this rule, under Inbound Rules select New Rule and choose Program as the rule type.
Windows 7 Firewall New Incoming Rule Step 1

Next, find the location of the VirtualBox executable, for me it was C:\Program Files\Oracle\VirtualBox\VirtualBox.exe
Windows 7 Firewall New Incoming Rule Step 2

Next, choose to allow the connection.
Windows 7 Firewall New Incoming Rule Step 3

Next, I didn’t want the rule to be applied to Public networks but I was OK with Pivate and Domain networks.
Windows 7 Firewall New Incoming Rule Step 4

Finally, you can choose to give the rule a name and description.
Windows 7 Firewall New Incoming Rule Step 5

After that I was able to connect from the secondary machine.

Tools I used: