set the correct port