Skip to content
This repository has been archived by the owner on Dec 8, 2019. It is now read-only.

Running your own server

Felix Ableitner edited this page Sep 18, 2016 · 6 revisions

Simple Setup

Install a Java 8 distribution. Download and extract the latest release. On the command line, execute java -jar ensichat-server.jar. Ensichat will automatically connect to other devices and exchange messages. To connect an Android device to your server, enter the IP:Port in Settings -> Servers (the default port is 26344).

Installing as a Service

These instructions are for Ubuntu, tested with Ubuntu 16.04.

First, download the same release as above and extract it. Copy lib/ensichat-server.jar to /usr/lib. Then, copy the systemd unit defintion etc/linux-systemd/ensichat.service into /lib/systemd/system/. Finally, run the following commands:

useradd ensichat
mkdir /var/lib/ensichat
chown ensichat:ensichat /var/lib/ensichat
service ensichat start

Ensichat will now start automatically on boot, and you can use service ensichat start/stop/restart to manage the service.

Default Servers

ensichat.nutomic.com:26344 (provided by @nutomic)

Please contact me to have your server added to the defaults.

Clone this wiki locally