Setup EAM between local machine and gateway running on VirtualBox?

I’ve been testing version control and deploy procedures for my company. I have 3 gateways running on my local machine using 2 virtual machines running Ubuntu on VirtualBox. I’m trying to set up the EAM on my local gateway to connect to the two gateways running in the VM. Each VM is port forwarding localhost:8088 -> 8877 (VM 1) & 8899 (VM 2) to my main machine. Under Agent Settings, no controller is showing up on either VM. I’ve already set up the local gateway as a controller. Any help would be greatly appreciated!