PocketMesh

PocketMesh

  • Docs
  • API
  • GitHub

›Signal Server

Peer Library

  • Getting Started
  • Usage

GUI Components

  • Installation
  • Usage
  • Available Components

Signal Server

  • Installation
  • Configuration and Running

Configuration and Running

Signal server, once compiled, needs only a few dependencies and doesn't require a lot of system resources.

Runtime dependencies

To run the signal server, the following libraries are needed (corresponding packages for Ubuntu 18.04 are in the parentheses):

  • GMP (libgmp10)
  • OpenSSL (libssl1.1)

In Ubuntu you can install them using a single command:

sudo apt install libgmp10 libssl1.1

Running

You can run the server binary with default settings (port 7777, TLS disabled) using

./signal-server

The server becomes available on ws://<domain>:7777, eg. ws://localhost:7777.

You can change the default port using

./signal-server <port>

To run in TLS mode, the command looks like

./signal-server --cert "path/to/certificate.pem" --key "path/to/private-key.pem" 443

The final address of your server will be wss://<domain>. There is no need to specify port because 443 is default for HTTPS/WSS.

Last updated on 15. 5. 2019
← Installation
  • Runtime dependencies
  • Running
Copyright © 2019 Jan Hrdina