2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-25 02:52:07 +00:00

Move to port 13001 for the TLS socket

While 6001 was not taken, it is well within reach of likely VNC ports
This commit is contained in:
Jarrod Johnson 2014-05-19 15:21:03 -04:00
parent 0dea8e0772
commit 51442e0180
2 changed files with 3 additions and 3 deletions

View File

@ -30,12 +30,12 @@ def _parseserver(string):
server, port = string[1:].split(']:')
elif string[0] == '[':
server = string[1:-1]
port = '6001'
port = '13001'
elif ':' in string:
server, port = string.split(':')
else:
server = string
port = '6001'
port = '13001'
return server, port

View File

@ -201,7 +201,7 @@ def _tlshandler():
certfile="/etc/confluent/srvcert.pem",
ssl_version=ssl.PROTOCOL_TLSv1,
server_side=True)
srv.bind(('0.0.0.0', 6001))
srv.bind(('0.0.0.0', 13001))
srv.listen(5)
authname = None
while (1): # TODO: exithook