Deploying a node.js app to OVH WEB CLOUD 1
Answers to your questions / Web Hosting / Deploying a node.js app t...
BMPCreated with Sketch.BMPZIPCreated with Sketch.ZIPXLSCreated with Sketch.XLSTXTCreated with Sketch.TXTPPTCreated with Sketch.PPTPNGCreated with Sketch.PNGPDFCreated with Sketch.PDFJPGCreated with Sketch.JPGGIFCreated with Sketch.GIFDOCCreated with Sketch.DOC Error Created with Sketch.
Question

Deploying a node.js app to OVH WEB CLOUD 1

by
AbidS
Created on 2023-05-22 07:55:32 (edited on 2024-09-04 14:23:20) in Web Hosting

**Deploy a Node.js app to ovh web cloud 1 hosting.**

- Domain name : cartajlife.net

----------


Hello everyone,

My **domain name** is : cartajlife.net

And I use **the offer** : web cloud 1

I have the following problem / I would like to set up :

!cartajlife_disfonctionnement|690x375


I have deployed a node.js app to ovh web cloud1 and successfully accessed it using ssh and successfully run it throught npm and the application is running on port 3001. but when trying to access the app via the domain name this error appears:
!cartajlife_disfonctionnement|690x375
My questions are:

how the system knows to link the the port 3001 to cartajlife.net?

Is there any other configuration to link 3001 to the domain? (the domain is already linked to the directory in mutisite section)

Is using app.listen(port,... the correct way to run my app when deployed?

Is there a guide or an example of a node.js application running on ovh web cloud?

Thank you all and have a nice day.