Error when opening an RFC connection (Opening connection to <virtual host>:<port> denied. Expose the system in your Cloud Connector)
This error message usually indicates one of the issues below:
Context
-
Internal host name and virtual host name are different (which is recommended) and you have maintained the internal host name in the communication system – instead of the virtual host name.
-
You have created the on-premise system with option Without load balancing (application server and instance number) in the Cloud Connector but with option Load Balancing in the communication system.
-
You have created the on-premise system with option With load balancing (system ID and message server) in the Cloud Connector but without option Load Balancing in the communication system.
To establish a communication to the on-premise system, SAP BW bridge looks up the communication system maintained in the communication arrangement of the source system. The information maintained in the section RFC Settings of the communication system is used to ask the Cloud Connector if the on-premise system is exposed for communication to cloud systems. The Cloud Connector receives this request and checks if a system with this virtual host and port is exposed. Therefore, the Virtual Host maintained in the Cloud Connector must match the Target Host (in case load balancing is not used) respectively the Message Server (in case load balancing is used) maintained in the communication system.
-
Virtual Port in Cloud Connector: In case the on-premise system was created in Cloud Connector with option Without load balancing (application server and instance number), the virtual port is created as sapgw<nn> with <nn> being the Virtual Instance Number of the source system. In case the system was created with option With load balancing (system ID and message server), the virtual port is created as sapms<VSI> with <VSI> being the Virtual System ID of the source system.
-
Virtual Port in SAP BW bridge: If load balancing is unset in the communication system, SAP BW bridge composes the virtual port as sapgw<nn> with <nn> being the instance number maintained in the communication system. If load balancing is set in the communication system, SAP BW bridge composes the virtual port as sapms<VSI> with <VSI> being the target system maintained in the communication system.
Procedure
To identify the relevant information maintained in the Cloud Connector, proceed as follows:
- Logon to the Cloud Connector.
- In the left-side menu of the administration UI, choose Cloud To On-Premise.
- In the Subaccount field, choose the subaccount of your SAP Datasphere tenant. If you are not sure about the subaccount, logon to SAP Datasphere and locate the subaccount via .
- In Cloud Connector, locate the line for the source system in question.
- Choose (Edit). The Virtual Host and Virtual Port are shown.
To identify the relevant information maintained in the communication system, proceed as follows:
- In the BW Modeling Tools, in the editor of the source system under Specific Properties, choose Maintain Communication Arrangement. The SAP BW Bridge Cockpit opens.
- In the communication arrangement, locate the section Common Data, and there, right next to the name of the communication system, press Display. The communication system is displayed.
- In the communication system, locate the section Technical Data, and there, under RFC Settings, check the information maintained for the option Load Balancing and the fields Instance Number and Target Host (in case Load Balancing is not set) respectively Target System and Message Server (in case Load Balancing is set).

