change port for tcp socket