Fixed issue where the client doesn't connect to the correct server if port was != 7777