Updating ports to be correct