{"id":4982,"date":"2019-01-16T05:45:04","date_gmt":"2019-01-16T05:45:04","guid":{"rendered":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/?p=4982"},"modified":"2022-02-15T09:46:03","modified_gmt":"2022-02-15T09:46:03","slug":"remote-usage-of-node-js-interpreters","status":"publish","type":"post","link":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/remote-usage-of-node-js-interpreters\/","title":{"rendered":"A Complete Guide on Remote Usage of Node.js Interpreters"},"content":{"rendered":"<h3>What is a Node.js Interpreter?<\/h3>\n<p>Node.js interpreter is installation of Node.js either on your computer (local Node.js interpreter), a remote host or in a virtual environment (remote Node.js interpreter).<\/p>\n<h3>Steps to Use Node.js Interpreters on Remote Host<\/h3>\n<p>1. Go to IntelliJ IDEA\/WebStorm and create a Node.js project in it.<\/p>\n<p>2. On the server that is been used, install alt-nodejs packages.<\/p>\n<p>3. Then create an application on the server in three ways as below:<\/p>\n<ul>\n<li>Via UI of the Node.js plugin.<\/li>\n<li>Using the below command to create an application:\n<pre class=\"lang:default decode:true \">cloudlinux-selector create --interprete=nodejs --json --app-root= --app-uri= --app-mode=develompent --version= --domain=<\/pre>\n<\/li>\n<\/ul>\n<p><strong>Note:<\/strong> You can create and run any remote script in the IntelliJ IDEA (Preferences \u2014 Remote SSH External Tools \u2014 Add).<\/p>\n<p><a href=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2019\/01\/createapp-min.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-6241 size-thumbnail\" src=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2019\/07\/FTP-firewall-2-min-150x150.png\" alt=\"\" width=\"150\" height=\"150\" \/><\/a><\/p>\n<ul>\n<li>Select a location of the application on the server and adjust the files with the IntelliJ IDEA project.<\/li>\n<\/ul>\n<p>4. In the project, set up Run\/Debug Configurations.<\/p>\n<p><a href=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2019\/01\/setconfiguration-min.png\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-6242 size-large\" src=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2019\/01\/setconfiguration-min-1024x637.png\" alt=\"\" width=\"660\" height=\"411\" \/><\/a><\/p>\n<ul>\n<li>Give a path to the remote Node.js interpreter. For indicating the remote interpreter, it is important to install the Node.js Remote Interpreter plugin first.<\/li>\n<li>Mention the initial JavaScript file that will be run with the node command (the file name is app.js and is found in the archive).<\/li>\n<li>Mention Path Mappings between a local and a remote project (Preferences \u2014 Deployments \u2014 Add). In case your application is created with the cloudlinux-selector utility or using the plugin UI the Path Mappings should be as below:\n<pre class=\"lang:default decode:true \">\/home\/&lt;USER_NAME&gt;\/&lt;APP_NAME&gt;\/<\/pre>\n<p>5. Arrange the project directories on the local and the remote machine as per Path Mappings mentioned.<\/p>\n<p>6. Using the npm install command, deploy the modules on the remote and the local machine (if there are dependent modules). In the UI, you can click the Run NPM Install button.<\/li>\n<\/ul>\n<p>7. Run Node.js application with the same configuration which was set at the 4th step (Main menu \u2014 Run \u2014 Run\u2026 \u2014 Select configuration).<\/p>\n<p><a href=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2019\/01\/runapp-min.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-6243 size-large\" src=\"https:\/\/www.milesweb.in\/hosting-faqs\/wp-content\/uploads\/2019\/01\/runapp-min-1024x626.jpg\" alt=\"\" width=\"660\" height=\"403\" \/><\/a><\/p>\n<p>8. In case the application you are using is from the archive attached, you can see the running application on the 3003 port \u2014 http:\/\/DOMAIN:3003.<\/p>\n<p><strong>Note:<\/strong> The port should be available to a server user.<\/p>\n<p><a href=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2019\/01\/runningappdomain.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-13395 aligncenter\" src=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2019\/01\/runningappdomain-300x50.png\" alt=\"runningappdomain\" width=\"300\" height=\"50\" srcset=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2019\/01\/runningappdomain-300x50.png 300w, https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2019\/01\/runningappdomain-768x129.png 768w, https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2019\/01\/runningappdomain.png 1024w\" sizes=\"auto, (max-width: 300px) 100vw, 300px\" \/><\/a><\/p>\n<p>You will see the following information displayed on this page:<\/p>\n<ul>\n<li>The version of running Node.js interpreter;<\/li>\n<li>Variables of the Current environment;<\/li>\n<li>The current time.<\/li>\n<\/ul>\n<p>With this, you can ensure that deployed modules are used properly.<\/p>\n<p>For using the different version of Node.js to run an application, modify a path to the interpreter in the configuration settings of the running.<\/p>\n<p>Adjust all changes with the server and restart the running application to apply them to the project.<\/p>\n<p>9. Set breakpoints in the code and run the configuration via Main Menu for debugging a script (Main menu \u2014 Run \u2014 Debug\u2026 \u2014 Select configuration).<\/p>\n<p><strong>Note:<\/strong> There is no need to install Passenger while working in IDE if you following these steps.<\/p>\n<p>This is how remote usage of Node.js Interpreters is done.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>What is a Node.js Interpreter? Node.js interpreter is installation of Node.js either on your computer (local Node.js interpreter), a remote host or in a virtual environment (remote Node.js interpreter). Steps to Use Node.js Interpreters on Remote Host 1. Go to IntelliJ IDEA\/WebStorm and create a Node.js project in it. 2. On the server that is [&hellip;]<\/p>\n","protected":false},"author":16,"featured_media":4984,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[565,566,567],"class_list":["post-4982","post","type-post","status-publish","format-standard","has-post-thumbnail","placeholder-for-hentry","category-web-hosting-faq","tag-node-js","tag-node-js-application","tag-node-js-interpreter"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v25.2 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Remote Usage of Node.js Interpreters in Easy Way<\/title>\n<meta name=\"description\" content=\"Node.js interpreter is installation of Node.js. Here is a complete guide to remote usage of Node.js interpreters in easy way.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/remote-usage-of-node-js-interpreters\/\" \/>\n<meta property=\"og:locale\" content=\"en_GB\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Remote Usage of Node.js Interpreters in Easy Way\" \/>\n<meta property=\"og:description\" content=\"Node.js interpreter is installation of Node.js. Here is a complete guide to remote usage of Node.js interpreters in easy way.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/remote-usage-of-node-js-interpreters\/\" \/>\n<meta property=\"og:site_name\" content=\"Web Hosting FAQs by MilesWeb\" \/>\n<meta property=\"article:published_time\" content=\"2019-01-16T05:45:04+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-02-15T09:46:03+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2019\/01\/A-Complete-Guide-on-Remote-Usage-of-NodeJS-Interpreters-min.png\" \/>\n\t<meta property=\"og:image:width\" content=\"800\" \/>\n\t<meta property=\"og:image:height\" content=\"445\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Pallavi Godse\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Pallavi Godse\" \/>\n\t<meta name=\"twitter:label2\" content=\"Estimated reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/remote-usage-of-node-js-interpreters\/\",\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/remote-usage-of-node-js-interpreters\/\",\"name\":\"Remote Usage of Node.js Interpreters in Easy Way\",\"isPartOf\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/remote-usage-of-node-js-interpreters\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/remote-usage-of-node-js-interpreters\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2019\/01\/A-Complete-Guide-on-Remote-Usage-of-NodeJS-Interpreters-min.png\",\"datePublished\":\"2019-01-16T05:45:04+00:00\",\"dateModified\":\"2022-02-15T09:46:03+00:00\",\"author\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/7e3952607fa9eb4e82fea9f7cad9c945\"},\"description\":\"Node.js interpreter is installation of Node.js. Here is a complete guide to remote usage of Node.js interpreters in easy way.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/remote-usage-of-node-js-interpreters\/#breadcrumb\"},\"inLanguage\":\"en-GB\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/remote-usage-of-node-js-interpreters\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/remote-usage-of-node-js-interpreters\/#primaryimage\",\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2019\/01\/A-Complete-Guide-on-Remote-Usage-of-NodeJS-Interpreters-min.png\",\"contentUrl\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2019\/01\/A-Complete-Guide-on-Remote-Usage-of-NodeJS-Interpreters-min.png\",\"width\":800,\"height\":445},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/remote-usage-of-node-js-interpreters\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"A Complete Guide on Remote Usage of Node.js Interpreters\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website\",\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/\",\"name\":\"Web Hosting FAQs by MilesWeb\",\"description\":\"\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-GB\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/7e3952607fa9eb4e82fea9f7cad9c945\",\"name\":\"Pallavi Godse\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-GB\",\"@id\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/eefc9695ea2b2c6e143c9c9919701aaa?s=96&d=blank&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/eefc9695ea2b2c6e143c9c9919701aaa?s=96&d=blank&r=g\",\"caption\":\"Pallavi Godse\"},\"description\":\"Pallavi is a Digital Marketing Executive at MilesWeb and has an experience of over 4 years in content development. She is interested in writing engaging content on business, technology, web hosting and other topics related to information technology.\",\"url\":\"https:\/\/www.milesweb.co.uk\/hosting-faqs\/author\/pallavi\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Remote Usage of Node.js Interpreters in Easy Way","description":"Node.js interpreter is installation of Node.js. Here is a complete guide to remote usage of Node.js interpreters in easy way.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/remote-usage-of-node-js-interpreters\/","og_locale":"en_GB","og_type":"article","og_title":"Remote Usage of Node.js Interpreters in Easy Way","og_description":"Node.js interpreter is installation of Node.js. Here is a complete guide to remote usage of Node.js interpreters in easy way.","og_url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/remote-usage-of-node-js-interpreters\/","og_site_name":"Web Hosting FAQs by MilesWeb","article_published_time":"2019-01-16T05:45:04+00:00","article_modified_time":"2022-02-15T09:46:03+00:00","og_image":[{"width":800,"height":445,"url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2019\/01\/A-Complete-Guide-on-Remote-Usage-of-NodeJS-Interpreters-min.png","type":"image\/png"}],"author":"Pallavi Godse","twitter_misc":{"Written by":"Pallavi Godse","Estimated reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/remote-usage-of-node-js-interpreters\/","url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/remote-usage-of-node-js-interpreters\/","name":"Remote Usage of Node.js Interpreters in Easy Way","isPartOf":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/remote-usage-of-node-js-interpreters\/#primaryimage"},"image":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/remote-usage-of-node-js-interpreters\/#primaryimage"},"thumbnailUrl":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2019\/01\/A-Complete-Guide-on-Remote-Usage-of-NodeJS-Interpreters-min.png","datePublished":"2019-01-16T05:45:04+00:00","dateModified":"2022-02-15T09:46:03+00:00","author":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/7e3952607fa9eb4e82fea9f7cad9c945"},"description":"Node.js interpreter is installation of Node.js. Here is a complete guide to remote usage of Node.js interpreters in easy way.","breadcrumb":{"@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/remote-usage-of-node-js-interpreters\/#breadcrumb"},"inLanguage":"en-GB","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.milesweb.co.uk\/hosting-faqs\/remote-usage-of-node-js-interpreters\/"]}]},{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/remote-usage-of-node-js-interpreters\/#primaryimage","url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2019\/01\/A-Complete-Guide-on-Remote-Usage-of-NodeJS-Interpreters-min.png","contentUrl":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-content\/uploads\/2019\/01\/A-Complete-Guide-on-Remote-Usage-of-NodeJS-Interpreters-min.png","width":800,"height":445},{"@type":"BreadcrumbList","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/remote-usage-of-node-js-interpreters\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/"},{"@type":"ListItem","position":2,"name":"A Complete Guide on Remote Usage of Node.js Interpreters"}]},{"@type":"WebSite","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#website","url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/","name":"Web Hosting FAQs by MilesWeb","description":"","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-GB"},{"@type":"Person","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/7e3952607fa9eb4e82fea9f7cad9c945","name":"Pallavi Godse","image":{"@type":"ImageObject","inLanguage":"en-GB","@id":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/eefc9695ea2b2c6e143c9c9919701aaa?s=96&d=blank&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/eefc9695ea2b2c6e143c9c9919701aaa?s=96&d=blank&r=g","caption":"Pallavi Godse"},"description":"Pallavi is a Digital Marketing Executive at MilesWeb and has an experience of over 4 years in content development. She is interested in writing engaging content on business, technology, web hosting and other topics related to information technology.","url":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/author\/pallavi\/"}]}},"views":741,"_links":{"self":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts\/4982","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/users\/16"}],"replies":[{"embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/comments?post=4982"}],"version-history":[{"count":5,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts\/4982\/revisions"}],"predecessor-version":[{"id":13397,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/posts\/4982\/revisions\/13397"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/media\/4984"}],"wp:attachment":[{"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/media?parent=4982"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/categories?post=4982"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.milesweb.co.uk\/hosting-faqs\/wp-json\/wp\/v2\/tags?post=4982"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}