your server needs a connection with ident enabled to connect to that server. dunno how in python though.