Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Error: Connection not Available

ceedee666
SAP Champion
SAP Champion
0 Likes
1,809

Hi all,

I just installed SAP NW 7.03 SP4 Trial on a server in Amazon EC2. Additionally, I installed the ABAP in eclipse tools. Everything went fine. However, when I try to connect from eclipse to the SAP NW system I get the following error message: "Logon to system NSP failed (Connection to system "NSP" is currently not available)." In contrast to that connecting to the system via SAP GUI works without any problems.

Any idea how to solve this problem? Are there additional ports that need to be open in order to allow eclipse to connect to the SAP NW system?

Thanks,

Christian

1 ACCEPTED SOLUTION
Read only

0 Likes
1,231

Hi,

ABAP in Eclipse communicates via RFC with the ABAP backend. As such, the services/ports for RFC connectivity have to be open. Typically it is the port 33<xx> where xx is the instance number of your server.

If you only can access the server via physical IP adress, then set the parameter of the instance profile of the application server to

   gw/alternative_hostnames = <IP adress of your virtual machine>

and restart the server.

Hope this helps.

Kind regards

Martin

4 REPLIES 4
Read only

0 Likes
1,232

Hi,

ABAP in Eclipse communicates via RFC with the ABAP backend. As such, the services/ports for RFC connectivity have to be open. Typically it is the port 33<xx> where xx is the instance number of your server.

If you only can access the server via physical IP adress, then set the parameter of the instance profile of the application server to

   gw/alternative_hostnames = <IP adress of your virtual machine>

and restart the server.

Hope this helps.

Kind regards

Martin

Read only

0 Likes
1,231

Hi Martin,

thanks for the hint.

I opened the required ports in the firewall of the EC2 instance. However, I still get the same error when trying to connect eclips to the server.

In the SAP Management Consol I can see that the GW ist running on port 3200. But in SMGW I never see any connections of clients.

Any other ideas?

Christian

Read only

0 Likes
1,231

Hi Christian,

you can check dev_jco_rfc.trc in Eclipse directory for further error messages. GW port 3200 is very unusual, normally 32xx is Dispatcher and 33xx is Gateway which is used for RFC connections.

Regards

Markus

Read only

0 Likes
1,231

Hi Markus,

thanks for the reply.

I had a stupid typo in the configuration of my SSH-Tunnels. Since I fixed that everything is runnign fine.

And of cause you are rigth, the GW is running on port 33xx.

Christian