Skip to content

Commit

Permalink
dashboard/moninj: use ephemeral UDP port
Browse files Browse the repository at this point in the history
sbourdeauducq committed Apr 11, 2016
1 parent dbba41b commit 7d590af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion artiq/dashboard/moninj.py
Original file line number Diff line number Diff line change
@@ -275,7 +275,7 @@ def __init__(self):
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()

0 comments on commit 7d590af

Please sign in to comment.