Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

lb4 on cloudlinux hosting - failed to spawn app #10659

Unanswered
carestra asked this question in Q&A
Discussion options

Hi,

I'm trying to run a lb4 app on a CloudLinux web hosting.
I'm following the guide https://loopback.io/doc/en/lb4/Getting-started.html to create a simple lb4 app.
The hosting service uses DirectAdmin on CloudLinux with nodejs-selector (Phusion Passenger).
When I try to access to app the server response that it could not spawn the app.
Reading https://www.phusionpassenger.com/library/indepth/nodejs/reverse_port_binding.html it looks like for Passenger to spawn it it needs to invoke http.Server.listen() once and only once, and make it pass 'passenger' as argument. Also no port nr should be set.
As I understand lb4 uses loopback/rest which will call http.Server.listen(). How can I bypass it so it calls 'http.Server..listen('passenger')'?

Anyone who has an idea on how to solve this?

You must be logged in to vote

Replies: 0 comments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant

AltStyle によって変換されたページ (->オリジナル) /