Local Network (LAN) Setup

Configure your application for local network communication

System Requirements

Operating System

Windows 10 (64-bit)

RAM

4 GB or more

Disk Space

2 GB free

Network

LAN connectivity

Java

JRE 21

01

Install MongoDB

Server Machine Only
  1. Download MongoDB Community Server
  2. Install using default settings
  3. During installation, check ✔️ Install MongoDB Compass
  4. Verify MongoDB is running at localhost:27017

You can verify by visiting http://localhost:27017 in your browser

02

Create Database

Using MongoDB Compass
  • Open MongoDB Compass
  • Click "Connect" button
  • Click "Create Database" (top-left)
  • Database Name: SECURE (exact spelling required)
  • Collection Name: users (exact spelling required)

Ensure exact spelling - database names are case-sensitive!

03

Start the Server

MongoDB Machine

Downloading file, please wait...

  1. Navigate to your Downloads folder
  2. Run secure.exe
  3. Server will display IP and port (e.g., 192.168.1.5:12345)
  4. Enter the activation token

The server must run on the same machine where MongoDB is installed

04

Run Chat Client

All LAN Machines

Downloading file, please wait...

  1. Navigate to your Downloads folder
  2. Run SecureClient.exe
  3. Enter the server IP address
  4. Click Connect to start chatting

You're all set! Start communicating securely on your local network.

Static IP Network Setup

Configure your application with a fixed IP address

System Requirements

Network

Static IP Address

Operating System

Windows 10+ (64-bit)

RAM

4 GB or more

Disk Space

2 GB free

Java

JRE 17+

01

Install MongoDB

Server Machine Only
  1. Download MongoDB Community Server
  2. Install using default settings
  3. During installation, check ✔️ Install MongoDB Compass
  4. Verify MongoDB is running at localhost:27017
02

Create Database

Using MongoDB Compass
  • Open MongoDB Compass
  • Click "Connect" button
  • Click "Create Database" (top-left)
  • Database Name: SECURE
  • Collection Name: users
03

Start the Server

MongoDB Machine

Downloading file, please wait...

  1. Navigate to your Downloads folder
  2. Run secure.exe
  3. Server will display IP and port
  4. Enter the activation token
04

Configure Network

Port Forwarding
  • Open your router/network configuration page
  • Connect server IP to your static IP
  • Forward ports: 2721 and 2722

Port forwarding allows external connections to reach your server

05

Run Chat Client

All Machines

Downloading file, please wait...

  1. Navigate to your Downloads folder
  2. Run SecureClient.exe
  3. Enter your Static IP address
  4. Click Connect to start chatting

You can now connect from anywhere using your static IP!