method connect port = self#set port true