Update xmlrpc.py

get port from config