getting unique ports to work