Fixed ports in ClientThread and ServerThread