dLANDiscord Web Servers and Port Registry
The dLANDiscord ecosystem operates a distributed network of internal and external-facing web servers, each serving a specific role in the agentic framework or project-specific dashboards.
Port Registry
| Port | Service | Source File | Visibility | Purpose |
|---|---|---|---|---|
| :6573 | Assistant API (HTTP) | assistant/webserver.go |
Local | Main API for agent queries, dashboards, and static assets. |
| :6574 | Assistant API (HTTPS) | assistant/webserver.go |
Local | Secure variant of the main API for voice/CCTV streams. |
| :7142 | Event Router (Wakeup) | assistant/wakeup.go |
External | Ingress for UniFi presence, YouTube PubSub, and Vonage SMS. |
| :8468 | Kanban Server | assistant/todo.go |
Local | WebSocket-powered Kanban/Todo board for live updates. |
| :9999 | Mission Control | assistant/missioncontrol.go |
Local | Real-time "God-Tier" dashboard for logs, telemetry, and audits. |
| :8888 | dWebGame | dwebgame/dwebgame.go |
Local | The persistent web-based RPG engine and player dashboard. |
| :8778 | Crypto Trader | cryptotrader/cryptotrader.go |
Local | Dashboard for monitoring automated crypto trading strategies. |
| :7165 | Public AI API | publicai/publicai.go |
Local | Authenticated guest access for public-facing AI tools. |
| :8080 | Public Website | websrv/websrv.go |
Public | The main public-facing informational landing page for dLAN. |
| :7778 | dMUD Server | dmud/dmud.go |
Local | HTTP handler for the dMUD (Multi-User Dungeon) environment. |
| :7779 | Wiki Server | wikiserver/wiki_server.go |
Local | Markdown documentation server with search, TOC, version history, and Mermaid diagram support. |
| :8081 | WebSocket Test | dwebsocket/dwebsocket.go |
Local | Experimental WebSocket relay and testing endpoint. |
| :6969 | Web Dashboard | webdash/webdash.go |
Local | Legacy or experimental utility dashboard. |
Major Service Details
Assistant API (:6573 / :6574)
The central nervous system of the project.
- Key Routes:
/api/query(SSE): Real-time streaming of agent reasoning and tool output./api/voice/query: Endpoint for the Nikki Aura voice interface./cctv-log: Weekly cycling log of CCTV events discovered by RoboCop./doorbell: Snapshot gallery for the doorbell monitoring system.
Mission Control (:9999)
Designed for live forensic auditing.
- Real-time Reasoning: Streams the "Chain of Thought" from active ReAct loops.
- Observability Fallback: If the SQLite database becomes corrupted, it automatically falls back to reading
.jsonlsession logs directly from disk (implemented in Git commit3e6eba8b).
Event Router (:7142)
The specialized ingress for "one-way" signals from the outside world.
- RoboCop Arrival/Departure: Triggers agent-led briefings when a user returns home (Git commit
4da7e9ab). - Panic Recovery: Implements
executeWakeupTask()with deferred recovery to ensure network errors don't crash the entire router.
Kanban Server (:8468)
A high-performance WebSocket hub.
- Live Sync: Uses
sync.Mapfor connection management, broadcasting drag-and-drop task updates to all connected clients instantly.
Architecture & Integration
Most servers are initialized in main.go and run in their own goroutines to prevent the startup sequence from blocking (Git commit 10ca96bd). They share a global sync.Mutex or sync.Map when they need to exchange state, such as when the telemetry_poller updates the cluster status displayed on the Mission Control "Servers" tab.
Guidance for AI Agents
- Endpoint Discovery: Use this file to identify where to send specific types of data (e.g., presence signals go to
:7142, while chat queries go to:6573). - Local-Only Restriction: Most of these ports are bound to
0.0.0.0but are intended for local network access only. Always assume a Twingate or VPN layer is required for remote access.