question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Could you add an option host to ui5 serve?

See original GitHub issue

https://github.com/SAP/ui5-server/blob/cc1bc600712b908cc1128604be9a57dd137f8dd8/lib/server.js#L22-L28

I would like to start up my app on host 0.0.0.0 not localhost when using docker. Could you please provide this functionality ? Thanks in advance.

e.g. ui5 serve --open index.html --port 8080 -host 0.0.0.0

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
RandomBytecommented, Mar 2, 2020

Hey @zdlcloud, Is the --accept-remote-connections flag not sufficient for your use case?

0reactions
RandomBytecommented, Mar 10, 2020

Reopening this to keep track of adding a small log message indicating that the server is listening for remote connections

Read more comments on GitHub >

github_iconTop Results From Across the Web

UI5 Tooling: a modern development experience for UI5!
Option A) UI5 application created by SAP Web IDE ... Now you can start the development server by running: npx ui5 serve -o...
Read more >
Developing OpenUI5 - Documentation - Demo Kit - SAPUI5 SDK
The basic setup allows you to start a server for the OpenUI5 project in an easy way: Install Node.js . This also includes...
Read more >
@sap-ux/ui5-proxy-middleware - npm
If you don't load all UI5 source through the ui5-proxy-middleware , then you can set directLoad: true . This will inject the absolute...
Read more >
sap/ux-ui5-tooling - npm.io
Additionaly you can specify any of the configuration options (excluding setHeaders !) of the serve-static middleware. E.g. you can set fallthrough: false , ......
Read more >
Custom UI5 Applications using SAP Business Application ...
You could choose to add a Data Source (OData Service) at this step itself from an SAP backend system with Connect to a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found