server and client configuration