I am using office network to learn SAP HANA, to connect to HANA system I have to first connect to VPN then only the HANA system gets online. I configured a simple project XS application but when I try to run it, it shows the below error :
The URL which gets generated is https://hana01:4300/SampleXSapp/main.xsjs
I have no idea from where it is picking up "hana01:4300"
The online tutorial had port 8000 for running it
If I disconnect from VPN, then my HANA system goes down and the icon changes to gray from green.
I am attaching files and screenshot in case, you may check it what is wrong with any piece of code. Also please tell me if I had to make some changes in the Network to resolve this particular error.
My file main.xsjs
:
$.response.contentType = "text/html";
var output;
output = "Hello World! This is a demo of simple SAP HANA Extended Services Application. Stay tuned to learn more.";
$.response.setBody(output);
My .xsaccess
file:
{
"exposed" : true,
"authentication" : [{ "method": "Basic" }]
}
.xsapp
file has no content.
My HANA System:
I made same program in HANA Cloud platform there I can run my system,
Please advice on how to get this resolved, thanks in advance.