Product: Dynamics 365 For Finance and Operations
Issue: When attempting to connect your AppServer you receive the following error 'The requested address is not valid in its context'.
Reason: The FTP Port assigned to the AppServer Connection was blank or set to 0
Solution - Set The FTP Port
You will want to set the FTP Port under your FTP Settings to 22 (Default) as you're creating a new AppServer or by Editing an existing one.
Navigate: Modules β EDI β Global System Settings β AppServer Connections
Select: New or Edit as appropriate for the AppServer Connection
Locate: FTP Settings β FTP Port
Set (SFTP): FTP Port to 22 for Transfer Protocol with SFTP (Recommended)
or
Set (FTP): FTP Port to 21 for Transfer Protocol with FTP (Not Recommended)
Additional Resources
rev 3/26/2025