How to deploy a Node.js application to a remote server?

I have working node.js application on my computer working on port 3000 on localhost. Also I have ftp details of some remote server. I need to put this application there, but I don`t know how. Do you have any ideas/articles how it can be done?

Upvotes: 0

Views: 2235

Answers (2)

Abror
Abror

Reputation: 25

If anybody is looking for a guideline to work remotely over ssh, using vscode to build and edit apps of the server.

Try this https://code.visualstudio.com/docs/remote/ssh-tutorial

Upvotes: 0

Nipun Chawla
Nipun Chawla

Reputation: 366

If you want to push application files only then you can push the application files on FTP server but if you want to host a node.js application then you need a server on which node.js can be installed and executed example: AWS EC2

Here's the link for the doc to deploy node.js on EC2.

Upvotes: 1

Related Questions