From 0dea8e0772be1237bb1fd05b0b0f576b0e865870 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Mon, 19 May 2014 14:43:38 -0400 Subject: [PATCH] Move to port 6001 for the TLS socket 4001 is taken, so move to 6001 which is not taken by the registry. --- confluent_client/confluent/client.py | 4 ++-- confluent_server/confluent/sockapi.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/confluent_client/confluent/client.py b/confluent_client/confluent/client.py index 362364b7..cd8fde4c 100644 --- a/confluent_client/confluent/client.py +++ b/confluent_client/confluent/client.py @@ -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 diff --git a/confluent_server/confluent/sockapi.py b/confluent_server/confluent/sockapi.py index 74e13eee..60a861f5 100644 --- a/confluent_server/confluent/sockapi.py +++ b/confluent_server/confluent/sockapi.py @@ -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