getaddrinfo failed code example Example: gaierror at /members/register [Errno 11001] getaddrinfo failed import socket socket.getaddrinfo('localhost', 25)