when your sending the Idoc from SAP system you need to mention the port in order to find the tRFC destination . But when sending IDOC from XI/PI you give the RFC destination directly in the channel , not via Port . This is the difference .
Hope it is clear ?