Is there code snippet for python and xmpp to connect on localhost (127.0.0.1) ie host machine with openfire server running?
It seams to me that xmpp always connect on WAN IP's!

Any help?