Skip to Content
0

XSA app port

Dec 20, 2016 at 01:32 PM

90

avatar image

Hi all,

I built a HANA XSA app for the node.js build pack. It is a https server. I used expresse framwork for implementation. I am able to deploy and run the app. I am little puzzled now bout the ports, I have to use to access the functionality of this app via http. In my code I specify

app.set('port', process.env.PORT || 52002);

In my manifest.yml I write:

port: 53033

When I do xs apps after I successfully finished xs push I see

https://mo-d11b60363.mo.sap.corp:53033

which is as expected.

Unluckily I am not able to access the app with this url.

I write a log to stdout in my app and list the port after the app using after it is started and waiting for incoming requests. Is see there a port number completely different from the configured one

It is incrementing every time I do a new deploy. It started at 50015. This port can be used for accessing it.

I am using HANA XSA SPS11.

What I a doing wrong? Any usefull idea how to solve this issue is very welcome.

best regards

Wolfgang

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers