Set ports