How to access cherokee-admin from a remote machine

Wednesday, 15th August 2012, 0835hrs jw Cherokee | Linux

The cherokee-admin binds only to local loopback by default. There are some workarounds:

Tunneling

Create an SSH tunnel. This is the recommended way. In order to do so you must issue the following command:

user@box:~$ ssh -L 9090:localhost:9090 remote_IP

After that your terminal will be logged in the remote machine. There you can start the admin. From then on you can access this remote interface through http://localhost:9090. Every request will be forwarded to the remote IP running cherokee-admin.

The -b parameter

Launch cherokee-admin with the -b parameter in order to force it to listen to all the network interfaces.

Copy and paste

Finally you could always install cherokee on your local host, configure it there and then copy the generated cherokee.conf file to the device running the cherokee instance you wanted to set up.