how to find the host ip code example Example: get hostname socket.gethostbyname(socket.gethostname())