resetting ports to production values