Corrected port detection error
Client and server now exchange data.