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

Move to port 6001 for the TLS socket

4001 is taken, so move to 6001 which is not taken by the registry.
This commit is contained in:
Jarrod Johnson 2014-05-19 14:43:38 -04:00
parent 93aa6e3955
commit 0dea8e0772
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 = '4001'
port = '6001'
elif ':' in string:
server, port = string.split(':')
else:
server = string
port = '4001'
port = '6001'
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', 4001))
srv.bind(('0.0.0.0', 6001))
srv.listen(5)
authname = None
while (1): # TODO: exithook