+ 5

How to host an application created in node js?

I have an application created in node js, I am using web socket on port 9000. I use the command "node main.js" to activate the web socket, but I don't know how to activate it on the web server.

8th Apr 2020, 1:02 AM
CoffeeByte
CoffeeByte - avatar
3 odpowiedzi
+ 5
Use heroku
8th Apr 2020, 3:11 AM
Gordon
Gordon - avatar
+ 2
Use docker to deploy nodejs code to web server.
9th Apr 2020, 7:49 AM
Calviղ
Calviղ - avatar