cancel
Showing results for 
Search instead for 
Did you mean: 

It is possible to switch the Port on which my SAP HANA Webide application is available in SAP HANA ?

former_member529961
Participant
0 Kudos

HI guys.

I successfully bring my SAP WebIDE app to my SAP WebIDE for HANA. I can now run it and get access to it. The port for the application is something like 51069.

My SAP HANA installation runs on a machine which is reachable in the internet. I want that my application can be reached when i post the Ip of my server in my Browser. Do i need a port forwarding solution with apache or something, or can i simple switch the port from 51069 to 80 ?

Accepted Solutions (0)

Answers (1)

Answers (1)

dennispadia
Active Contributor

Hello Marius,

I think you have installed SAP HANA XS Advanced using port based routing (which is default option during installation) instead of hostname routing. During installation of XS advanced, you have to select one of the following routing modes, which has an influence on the URLs by which applications are exposed.

In port based routing setup, applications and services are distinguished using different ports while sharing the same domain name.

I'm not sure you can change the port number for application end points in port based routing. Even port based routing is not recommended installation for production. You should install XS Advanced with hostname routing requires only a single port but additional domain name server (DNS) entries

If you have installed XS advanced using hostname based routing, you can change the port as there is only one port to change. You can refer below SAP Note for more information -

NOTE: Just for your reference, you can find sapwebdisp.pfl file under /hana/shared/SID/xs/controller_data/controller/router/webdispatcher/conf/. But this is local web dispatcher. Even I have tried to change the port but after restart, it generates a new file overriding all the changes. Due to which I can say that you cannot change applications port.

Important Note: Changing the routing mode after installation is currently not supported!

Regards,

Dennis Padia.

former_member529961
Participant
0 Kudos

thangs for your help Dennis.

But when i got domain based routing. Will i get the problem that the user must use a clunky domain to reacht my Service in thee internet ? And do you got a tutorial for me how i can reinstall SAP HANA XS Advanced ?

dennispadia
Active Contributor
0 Kudos

Hello Marius,

While installing XS Advanced using hdblcm, you can pass below parameter.

./hdblcm.sh --xs_routing_mode=hostnames

https://wiki.scn.sap.com/wiki/display/SAPHANA/Hostname+based+routing+for+HANA+Cockpit+2.0

It will be good if you check installation and administration guide for XS advanced.

Regards,

Dennis Padia