saving ports