Removing ports before trying to add