Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support IPV6 hosts in yugabyted #23158

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update yugabyted
  • Loading branch information
chrismccord authored Jul 9, 2024
commit 5a3b2ada92929fcd81a17c203e6e21e73767291b
5 changes: 0 additions & 5 deletions bin/yugabyted
Original file line number Diff line number Diff line change
Expand Up @@ -2063,11 +2063,6 @@ class ControlScript(object):
mandatory_port_available, recommended_port_available)

def is_port_available(self, advertise_ip, port):
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
try:
return s.connect_ex((advertise_ip, int(port))) != 0
finally:
s.close()
addr_info = socket.getaddrinfo(advertise_ip, port, socket.AF_UNSPEC, socket.SOCK_STREAM)
for family, socktype, proto, canonname, sockaddr in addr_info:
try:
Expand Down