Make sure correct port is set