set up ports