Proxy.start_server

Proxy.start_server()[source]

Start the remote server.

Returns

ServerProxy – Instance of the proxy, if the connection was successful.

Raises

RPCServerError – If the server providing the requested service cannot be reached after 100 contact attempts (pings). The number of attempts is set by Proxy.max_conn_attempts.

Examples

>>> p = Proxy()
>>> p.stop_server()
>>> p.start_server()