Port is the medium in which data is transferred.
Other Useful Link :
Download a nice presentation on IDOC, EDI , ALE
Configuration of EDI for the IDOC in case of standalone program
EDI Configuration : Define Logical Systems T.code SALE
Assign Client to the logical system T.code: SALE
EDI Configuration : Create RFC Destination Tcode: SM59