Updated to take multiple ports.
Fixed conflict.