diff --git a/gns3server/compute/virtualbox/virtualbox_vm.py b/gns3server/compute/virtualbox/virtualbox_vm.py index 1b597197..a56f7c11 100644 --- a/gns3server/compute/virtualbox/virtualbox_vm.py +++ b/gns3server/compute/virtualbox/virtualbox_vm.py @@ -907,7 +907,8 @@ class VirtualBoxVM(BaseNode): writer=self._remote_pipe, binary=True, echo=True) - self._telnet_server = yield from asyncio.start_server(server.run, '127.0.0.1', self.console) + print(self._manager.port_manager.console_host) + self._telnet_server = yield from asyncio.start_server(server.run, self._manager.port_manager.console_host, self.console) @asyncio.coroutine def _stop_remote_console(self): diff --git a/gns3server/compute/vmware/vmware_vm.py b/gns3server/compute/vmware/vmware_vm.py index b6f6d133..a1ed1fdb 100644 --- a/gns3server/compute/vmware/vmware_vm.py +++ b/gns3server/compute/vmware/vmware_vm.py @@ -805,7 +805,7 @@ class VMwareVM(BaseNode): writer=self._remote_pipe, binary=True, echo=True) - self._telnet_server = yield from asyncio.start_server(server.run, '127.0.0.1', self.console) + self._telnet_server = yield from asyncio.start_server(server.run, self._manager.port_manager.console_host, self.console) @asyncio.coroutine def _stop_remote_console(self):