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