cancel
Showing results for 
Search instead for 
Did you mean: 

Fixing external access to SAP HANA Instance on CloudShare

matthias_fiebig
Explorer
0 Kudos
757

Hello,

connect a SAP HANA Studio from my own desktop to the SAP HANA instance on Cloud Share, like descriped in the HOWTO

Part 4 - Connect to your local SAP HANA Studio and Sap HANA Client to your HANA server on CloudShare (optional).

doesn't work. After a service request on Cloud Share I got the information, that only the ports 22, 443, 80, 3389, 8080 are open for public access.

So that is possible: Add a local port forwarding on the SAP HANA Linux machine


iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 8080 -j REDIRECT --to-port 30015

now you can change the destionation port in the system config of the SAP HANA Studio from 30015 to 8080 and it should work.

After the test you can save the config with.

iptables-save

I hope this helps.

Matthias

View Entire Topic
Former Member
0 Kudos

Hi Matthias,

I am a Java Architect. I am trying to develop a webapp that display some information from various sources. One of the sources in SAP Hana.

For the sake of this demo, I got the 30 day trial instance of Hana on cloudshare. I got the access on hanasvr-03 hana instance.

As you mentioned, I tried connecting to this SAP Hana instance from my local jdeveloper. But the server does not connect on both port 30015 and port 8080.

Do I have to make somechanges to the ports on the hanasvr-03 server. If yes, where do I get the login passwords for that?

Please help.

Regards,

Garima

matthias_fiebig
Explorer
0 Kudos

Hello,

in my case I must set the following commands on the HANA Server (Linux machine)

So that is possible: Add a local port forwarding on the SAP HANA Linux machine


iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 8080 -j REDIRECT --to-port 30015

iptables-save

Matthias

Former Member
0 Kudos

Hi Garima,

You cannot access the 30-day trial servers from outside your remote desktop on Cloudshare. This is an intentional security setting that you cannot change. If you want something you can connect to from your local jdeveloper, you will need to sign up for one of the developer instances.

--juergen