Modify port numbers