remove legacy port number