You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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')'?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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?
Beta Was this translation helpful? Give feedback.
All reactions