Ban port dissalowed by chrome and firefox

This commit is contained in:
Julien Duponchelle committed 2016-05-03 21:07:01 +02:00
1 parent f3095d94c1
commit 8e429ee4c1
2 files changed
+7 -3

No files matched your search

+2 -2
View File
@@ -396,8 +396,8 @@ class DockerVM(BaseVM):
# We replace the port in the server answer otherwise somelink could be broke
server = AsyncioRawCommandServer(command, replaces=[
(
':{}'.format(self._console_http_port).encode(),
':{}'.format(self.console).encode(),
'{}'.format(self._console_http_port).encode(),
'{}'.format(self.console).encode(),
)
])
self._telnet_servers.append((yield from asyncio.start_server(server.run, self._manager.port_manager.console_host, self.console)))