Skip to content

Commit 6e603f3

Browse files
committed
scylla/cloud.py: change default port
on inital implemetion we default the `server` port to 443 if wasn't specified, it was decided that we should default it to the default CQL SSL port (9142)
1 parent 44c0bd8 commit 6e603f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cassandra/scylla/cloud.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ def contact_points(self):
9494
def get_server(self, data_center):
9595
address = data_center.get('server')
9696
address = address.split(":")
97-
port = nth(address, 1, default=443)
97+
port = nth(address, 1, default=9142)
9898
address = nth(address, 0)
9999
node_domain = data_center.get('nodeDomain')
100100
assert address and port and node_domain, "server or nodeDomain are missing"

0 commit comments

Comments
 (0)