Working connection to server