diff --git a/owrx/socket.py b/owrx/socket.py index 3e64560..069a538 100644 --- a/owrx/socket.py +++ b/owrx/socket.py @@ -2,7 +2,7 @@ import socket def getAvailablePort(): - s = socket.socket(socket.AF_INET6, socket.SOCK_STREAM) + s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s.bind(("", 0)) s.listen(1) port = s.getsockname()[1]