1

Switching to a port less likely to be used

This commit is contained in:
Alex Yatskov 2016-05-18 10:23:43 -07:00
parent a4d1c43a4a
commit 156984cefc

View File

@ -123,7 +123,7 @@ class AjaxServer:
self.clients = filter(lambda c: c.advance(), self.clients) self.clients = filter(lambda c: c.advance(), self.clients)
def listen(self, address='127.0.0.1', port=8888, backlog=5): def listen(self, address='127.0.0.1', port=8765, backlog=5):
self.close() self.close()
self.sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) self.sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)