Setup guide

Install it, open the right port, done.

Linux and Windows, step by step. Copy the commands, paste them, and your node answers on the internet.

Ports you need

Droxid uses one port for everything — chat, voice, video and file uploads all share it. There is no UDP, no port range, no separate voice port.

PortProtocolWhy
8993/tcpws://The node's own port. Open this if clients connect directly (no TLS proxy).
443/tcpwss://Recommended. Your reverse proxy terminates TLS and forwards to 8993. Required for camera/microphone in the client.
80/tcphttp://Only for the certificate renewal challenge (HTTP-01). Can be closed again after the first certificate.
If you're behind a home router: open/forward the port on the router too, and give the server machine a fixed LAN address (or a DHCP reservation). A dynamic DNS name such as yourname.duckdns.org is how droxsid itself is published.

Step by step

1 · Install Node.js 18+ (Debian / Ubuntu / Raspberry Pi OS)

sudo apt update
sudo apt install -y nodejs npm
node -v        # must print v18 or newer

On older releases, install Node from NodeSource instead of the distro package. On Alpine: apk add nodejs.

2 · Install the server

sudo mkdir -p /opt/droxid
cd /opt/droxid
# unpack the server package you downloaded
unzip Droxid-server-1.2.0.zip -d /opt/droxid
sudo useradd -r -s /usr/sbin/nologin droxid
sudo mkdir -p /var/lib/droxid
sudo chown -R droxid:droxid /opt/droxid /var/lib/droxid

3 · Run it as a service (systemd)

sudo tee /etc/systemd/system/droxid.service > /dev/null <<'EOF'
[Unit]
Description=Droxid node
After=network-online.target
Wants=network-online.target

[Service]
User=droxid
ExecStart=/usr/bin/node /opt/droxid/server/node.js --config /opt/droxid/server/config.json
Restart=always
RestartSec=5

[Install]
WantedBy=multi-user.target
EOF

sudo systemctl daemon-reload
sudo systemctl enable --now droxid
sudo systemctl status droxid --no-pager
journalctl -u droxid -n 30 --no-pager

4 · Open the port

# ufw (Debian / Ubuntu / Raspberry Pi OS)
sudo ufw allow 8993/tcp
sudo ufw allow 443/tcp
sudo ufw allow 80/tcp
sudo ufw enable

# firewalld (Fedora / RHEL)
sudo firewall-cmd --permanent --add-port=8993/tcp
sudo firewall-cmd --permanent --service=https --add-port=443/tcp 2>/dev/null
sudo firewall-cmd --permanent --add-port=443/tcp
sudo firewall-cmd --permanent --add-port=80/tcp
sudo firewall-cmd --reload

# nftables (Alpine)
nft add rule inet filter input tcp dport { 8993, 443, 80 } accept

5 · Test it

curl -s http://127.0.0.1:8993/api/health
# from another machine: curl http://YOUR_PUBLIC_IP:8993/api/health

A JSON reply locally but a timeout from outside means the firewall or the router is blocking the port — not Droxid.