Eggdrive android testing based on Python

hello
I am trying to convert the example of python for an android test. But I can not establish a connection to the android gateway or android device.^

http://docs.eggplantsoftware.com/ePF/using/epf-python-using-eggdrive-example-script.htm

    # Connect to a SUT
    server.execute ('connect "localhost"')

Here tries the script to connect to port 0. How can i set another port?

BR
Wolfgang