From e7d448efd30c819f256e58dc8c7b8d30ce6a2092 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Mon, 11 Apr 2016 18:54:25 +0800 Subject: [PATCH] dashboard/moninj: use ephemeral UDP port --- artiq/gui/moninj.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/artiq/gui/moninj.py b/artiq/gui/moninj.py index b4dda08eb..aabfea715 100644 --- a/artiq/gui/moninj.py +++ b/artiq/gui/moninj.py @@ -263,7 +263,7 @@ class MonInj(TaskObject): self.subscriber = Subscriber("devices", self.init_devices) self.dm = None self.socket = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) - self.socket.bind(("", 39284)) + self.socket.bind(("", 0)) # Never ceasing to disappoint, asyncio has an issue about UDP # not being supported on Windows (ProactorEventLoop) open since 2014. self.loop = asyncio.get_event_loop()