Nodejitsu has joined GoDaddy
We are excited to join GoDaddy to help spearhead their largest Node.js product: Website Builder. As a part of this Nodejitsu will help existing customers transition onto new solutions for their hosting needs until early August 2015. Please migrate your applications from the Nodejitsu platform before the end of the transition period. Please read our blog post to learn more about customer transition plans and our continued support for Open Source within the node community.
Fork on Github

For more information about pricing, see the pricing FAQ.

How do I reset my password?

One way is to use jitsu. Simply type:

jitsu users forgot :username

where :username is your username. Alternately, go to and click the "login" link; then search for the link "Did you by any chance forgot your password?", where you will be prompted for your username. Either process will send you an email with further instructions.

Is there a cheatsheet somewhere?

There sure is! Check out

How are programs kept alive? Do I need to use Forever?

Nodejitsu's cloud services watch your programs for you! You shouldn't have to do anything special to keep your apps running, much less use Forever or similar tools.

How can I make my app use a port other than port 80?

Connecting to other servers using arbitrary ports requires no special considerations. However, listening for outside connections is currently limited to port 80 on the Nodejitsu platform because we require http host headers for domain name resolution of subdomains. Consequentially, each subdomain may only host one listening service. Note that this does not mean you can only listen to port 80 from your app; since Nodejitsu redirects it to port 80 you can listen on any port from your app. However, you can only access your app externally through port 80.

The ability to host TCP applications on nodejitsu and listen on non-80 ports is on our roadmap but has no associated timeline.

How do I make Koding work with jitsu?

By default, Koding will not install packages globally, due to a permission error. You can fix this by setting the npm prefix to a location that you have permissions to access, like your home directory. To do this, simply run:

npm config set prefix ~

And then you can install jitsu normally:

npm i jitsu -g

Can I use jitsu with Cloud9 IDE?

Yes! Follow these steps to install jitsu:

  1. Install the latest npm globally: npm install -g npm
  2. Install the latest jitsu locally: npm install jitsu

Now you can use jitsu as usual. If you get error, try npm rm -g jitsu && npm cache clean.

How can I turn off the require-analyzer in jitsu? I want to manage my own dependencies!

There are three ways to disable the require-analyzer:

  • Use the --noanalyze flag when running jitsu commands to disable it on a one-time basis.
  • Add "analyze": false to your package.json to disable it on a per-app basis.
  • Set "analyze" to false in your jitsu config using the command: jitsu config set analyze false to disable it on a global level, or add the option to the config file ~/.jitsuconf

How Do I add my GitHub repository as a dependency?

Use the following format:

Why won't this C++ addon compile?

Many C++ addons require libraries that are not included in Nodejitsu's infrastructure by default. For example, node-canvas requires cairo. Nodejitsu has cairo and many other such libraries, but may not have some more obscure ones.

How do I specify which files not to bundle? How do I know what files are getting bundled?

jitsu uses npm to bundle files, meaning that jitsu bundles files in exactly the same manner than npm bundles published modules. You can read about this in npm's documentation.

In more detail: npm uses a file called .npmignore, which should contain a list of files and folders to ignore for the purpose of bundling. If this file does not exist, npm will use git's ignore file, called .gitignore, instead. This means that, if you want to bundle files that are ignored by git, you should create an .npmignore even if it's blank.

Finally, jitsu has the ability to bundle your app without deploying with the jitsu package create command. You can use this to make sure that the resulting .tgz file is as you expect.

How do I fix 'Error: package.json error: can't find starting script'?

Nodejitsu requires a starting script in the package.json to know which script to run to start your application. You need to make sure that the scripts.start field in your package.json points to the correct starting script.

A common issue is using node app as the value of scripts.start in your package.json. This won't work on Nodejitsu because the file extension is not specified. You'll need to do something along the lines of node app.js.You can also use just the name of the main file, app.js.

How do I choose what port to use in Nodejitsu?

At Nodejitsu it's super important for us that you can run your application just like you do in your local machine. That said, you don't have to choose a specific port: just make sure it is either 80 or > 1024. (to listen on those ports you need to run with sudo, and we don't do that in our servers. Port 80 gets overriden to 1024).

Internally our load balancers know what port your application is listening on. If you chose port 1337 our load balancer will proxy the traffic that is directed to your Nodejitsu application (e.g. on port 80 to whatever the port you choose in your application (e.g. 1337).

I'm getting an error: listen EACCESS when starting my application in Nodejitsu

Check the answer above, How do I choose what port to use in Nodejitsu?. You are trying to use a root level port (between 0-1024). Please set your app to listen on a port greater than 1024.

How do I force my clients to use HTTPS with my application?

You'll need to redirect your clients to the HTTPS address when they make a request with HTTP. See the following code for an example:

// http
var http = require('http');

var server = http.createServer(function (req, res) {
  // optional, for HSTS
  // see
  res.setHeader('Strict-Transport-Security', 'max-age=8640000; includeSubDomains');

  if (req.headers['x-forwarded-proto'] !== 'https') {
    var url = 'https://' + + '/';
    res.writeHead(301, {'location': url});
    return res.end('Redirecting to <a href="' + url + '">' + url + '</a>.');


var express = require('express');

var app = express();

app.use(function (req, res, next) {
  // see above
  res.setHeader('Strict-Transport-Security', 'max-age=8640000; includeSubDomains');

  if (req.headers['x-forwarded-proto'] !== 'https') {
    return res.redirect(301, 'https://' + + '/');



How do I change the timezone on my drone?

You can set the TZ environment variable with jitsu env. A list of time zones can be found here. Here is an example:

jitsu env set TZ America/Los_Angeles

How do subdomains work and what are the valid subdomains?

Valid subdomains are strings 1-n characters long that begin and end with alphanumerical characters while the remaining letters can be alphanumerics, hyphen or a underscore.

Valid subdomains would be:


Note: the use of periods in subdomains is deprecated.

Where are personal plan drones hosted?

Drones for personal plans on Nodejitsu are hosted on Joyent's us-east-1 datacenter. Note that this is only for personal plans, business plan users are able to choose their datacenter.

Can I use cluster to improve the availability of my app?

Nodejitsu's cloud services watch your programs for you! You shouldn't have to do anything special to keep your apps running. If you need to scale your app, we offer the simple way of "drones", where you can add more drones to fit your needs.

When we push our app to Nodejitsu, does it start a new instance, then cut the traffic over from the old one if successful? Or would the app be down if something went wrong?

We always provision a new virtual machine. The old one gets decommissioned if and only if everything went ok, so a failed deploy does not equate to down time.

Why is the subdirectory or its content not deployed to Nodejitsu?

Execute npm pack inside your application and make sure that the resulting package includes the file. Nodejitsu uses the same command when deploying your app.

In case it is not included in the package, you should look into your gitignore and/or .npmignore files to ensure that the folder or contained files are not ignored. Note that any files/folders starting with . like .DS_Store are ignored by default and some special ones like .git cannot be unignored since npm prevents that.

To explicitly unignore a file use !filename inside either .gitignore or .npmignore.

How can I change the name of my application?

Changing the name is possible, however there's just one caveat. After the name change you will loose previous snapshots and other configured settings.

To change the application name do jitsu destroy, confirm and finally redeploy with jitsu deploy. Both commands must be executed within the project folder.

How can I use Socket.IO alongside a http server?

We reroute all traffic to port 80. To use a http server and socket.IO over the same port, you need to tie socket.IO in http. Socket.IO documentation will provide a clear example or try our demo app jitsu install To give you a general idea of the logic:

var app = require('express')()
  , server = require('http').createServer(app)
  , io = require('').listen(server);


Can I write to the file system? What are the limits?

File system on our virtual machines is both readable and writable, but does not persist across deploys. Capacity of the file system is 3 GB.

I'm getting a HTTP 401 error when using Twitter API. How do I fix it?

This is most likely related to different time zone on our and Twitter's servers. To ensure consistency, do jitsu env set TZ GMT. This will force your application to use GMT timezone.

What libraries/binaries can I use?

We install following libraries and binaries on our servers:

And all of their dependencies.

If you need a specific library and it's missing, we'll do our best to install it. Please email or hit us up in IRC.

What are the outgoing IPs?

If you are connecting to a remote host from Nodejitsu, you'll see a connection from one of those IPs, depending on which data center your application is in:

Joyent US-East-1


Joyent US-SW-1


How can I tail the logs of my application?

Simply issue jitsu logs tail locally from the applications directory or visit webops. Additional information can be found at tailing logs.

Can I deploy a Meteor application to Nodejitsu?

Yes, you can!

We support npm deployments so you'll need to convert your Meteor application to a compatible npm package. You can do it easily using demeteorizer.

  1. Install demeteorizer usign npm:

    $ [sudo] npm install -g demeteorizer
  2. Execute demeteorizer in your Meteor application folder:

    $ demeteorizer -o package

    This will create a folder called package, this will be your npm compatible package to deploy to Nodejitsu.

  3. Modify your package before deploy:

    Edit your new package.json in the package folder and do the following:

    • Change engine version to 0.10.x (0.8.x will fail to start)
      "engines": {
      "node": "0.10.x"
  4. Deploy and profit!

    Deploy your application, it will prompt for a subdomain to use in Nodejitsu.

    $ jitsu deploy

    If you are using MongoDB you'll need to define the ENV variable with the connection string and restart the application.

    $ jitsu env set MONGO_URL "mongodb://user:password@host:port/databasename?autoReconnect=true"
    $ jitsu start

How to generate a SSL CSR (Certificate Signing Request) for my Custom Domain?

You'll need to install OpenSSL in your OS, you can install it with homebrew (Mac OSX) with brew install openssl or in Linux (Debian/Ubuntu) with [sudo] apt-get install openssl, or download the following binary distrubution for Windows OpenSSL for Windows.

You can generate your CSR with the following command:

$ openssl req -new -keyout server.key -out server.csr

Or you can follow the instructions of the following SSL providers:

How to upload my SSL certificates to Nodejitsu?

You can upload the certificates under the SSL tab in the application view on WebOps admin interface. Make sure you have a Business plan account and your package.json is configured with the custom domains.

Individual plans can't use Custom SSL but they can use our Free SSL service with * and * Just prepend the https:// and it's done.

How to target an application through a specific load balancer?

For debugging purposes it's sometimes useful to hit your application through a specific balancer. This is easily done by providing a Host header to the request. The curl command below will hit a balancer with IP and target the application Note, replace yourapp with the subdomain of your application.

$ curl --verbose --header 'Host:'

For a list of balancers, check our list.

How to target a specific drone of an application?

If your application uses multiple drones, we provide a special header for targetting a specific drone. Per example, if your application uses 2 drones, you can provide either x-drone: 1 or x-drone: 2 as header. Note, replace yourapp with the subdomain of your application.

$ curl --verbose --header 'x-drone: 1'

How to share my account without sharing my password?

You can use tokens to share your account access without needing to share your password.

Simply create the token using jitsu

$ jitsu tokens create <yourTokenName>

And install it on shared clients

$ jitsu config set apiTokenName <yourTokenName>
$ jitsu config set apiToken xxx-xxx-xxx-xxx
$ jitsu config set username myusername

How to run bower install before a deploy?

You need to install your front-end dependencies before upload your snapshot, so, you need to run bower install just before make a deploy.

We offer two additional script fields predeploy and postdeploy at package.json which both run on your local machine. Just add the next to your package.json in the scripts section:

  "scripts": {
    "predeploy": "bower install"

What is a drone?

A drone is an individual unit of computing power. When you deploy an application to Nodejitsu you get one drone (a single process). The way we scale an application is by assigning you new drones (in a new virtual machine) and have our load balancers distribute across the drones serving your application. You will have at the very least the same number of drones as you have applications, but it is not uncommon for a single application to be running more than one drone.

Can you give me more details about specs of drones?

All individual plans have drones configured with 256MB of RAM, around 2GB of disk space and one virtual CPU (as defined per joyent). Business plans have flexibility on this allowing to you increase your memory RAM to 512MB or 1GB and even host your drones in a different datacenter.

Do you have a Acceptable Use Policy?

Yes, we do. Take a look to our Acceptable Use Policy And you agreed to follow this policy when you created your account and accepted our Terms of Service

Does jitsu work with nvm?

Yes, it works! However, if you previously used a globally installed version of jitsu, make sure to remove that version. We recommend to let nvm govern all installed jitsu versions.

Getting Started

Learn how to set up Nodejitsu's tool for app deployment and be ready for action.

See the guide