save port in self.S.port