Set correct port