Got server connection working