finally server-client connection works