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:
parent
93aa6e3955
commit
0dea8e0772
@ -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
|
||||
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user