Update valid port entry for client and server