def client_host(server_host):
if server_host == '<STR_LIT>':<EOL><INDENT>return '<STR_LIT:127.0.0.1>'<EOL><DEDENT>if server_host in ('<STR_LIT>', '<STR_LIT>', '<STR_LIT>'):<EOL><INDENT>return '<STR_LIT>'<EOL><DEDENT>return server_host<EOL>
Return the host on which a client can connect to the given listener.