change port number and edit styles