added port to socket.getaddrinfo to avoid gaierror 8