Install Jetty in Webfaction

Create a new app, like this image below


By default the java version is

Access to webfaction via ssh, I am using putty and download jetty

The server is running in port:8080 but webfaction assign a port


so change jetty port,  doc ref about it

and final step, create a website

jettywebsiteMy server running in

node-dev, Restarts your app when files are modified

Node-dev is a development tool for Node.js that automatically restarts the node process when a script is modified.

This is an example using node-dev, you can see errors instantly, only run:

nodedevMore info in npm