Network requirements
This page is for the network and security team that has to open firewall rules for Cognipeer. It lists every connection Cognipeer makes or receives, which ones are optional, how a proxy fits in, how to reach private systems, and how to test the result. The variables themselves are described in Configuration; this page puts them in the order a firewall request needs.
When to use
- You are preparing a firewall or proxy request for a new installation.
- A feature works on a laptop and fails from the server network.
- You need to know whether Cognipeer can run without outbound internet access.
Decide
| Question | Consequence |
|---|---|
| Does the server reach the internet only through a proxy? | Set HTTPS_PROXY, HTTP_PROXY and NO_PROXY on every Cognipeer process. The Slack socket ignores them and needs a direct route to *.slack.com. See Proxy and certificates. |
| Does the proxy re-sign HTTPS (TLS inspection)? | Add its CA with NODE_EXTRA_CA_CERTS. The managed browser cannot read it; it needs BROWSER_IGNORE_CERTIFICATE_ERRORS, which turns certificate checks off for every page. |
| Are your model servers, databases or storage on a private network? | On a self-hosted installation provider endpoints on private addresses are allowed by default; tools, MCP servers and webhooks follow the outbound guard, which blocks private addresses unless the host is listed. On the hosted service the operator opens private ranges for your organization. See Private connectivity. |
| Do outside systems (Microsoft Teams, your own webhooks, a connector's triggers) need to call Cognipeer? | Expose only the public paths in flow 3 and nothing else. |
| Are your GPU machines behind NAT or a tunnel? | Use the Relay connection mode: the machine connects outward and needs no open port. |
| Is the network disconnected from the internet? | There is no air-gap installation guide yet. Read Without internet access. |
The flows
Cognipeer runs as one process that listens on port 3000. Your ingress or load balancer terminates TLS in front of it and presents the address that APP_URL names.
| # | Direction | Purpose | Notes |
|---|---|---|---|
| 1 | People and visitors to Cognipeer | The dashboard, the API and portals | HTTPS to the APP_URL address. If you give portals their own addresses, add the portal host or the wildcard *. plus PORTAL_BASE_DOMAIN (a wildcard DNS record and certificate). People's browsers also open the documentation panel from https://docs.cognipeer.com; set DOCS_BASE_URL to a copy they can reach. |
| 2 | Cognipeer to model providers and to your data stores | Model calls, embeddings, files, and the database | HTTPS to each provider you configure. Database: MongoDB (or PostgreSQL where that provider is configured); SQLite is a local file. Redis when you use it. Endpoints you type into a provider are checked by the private-network rules below. |
| 3 | Outside systems to Cognipeer | Webhook triggers, connector triggers, Microsoft Teams, public MCP servers | Inbound to /api/public/hooks/, /api/public/connector-hooks/, /api/public/channels/teams/ and, for servers whose access mode is public, /api/public/mcp/. Nothing else has to be public. Teams needs POST /api/public/channels/teams/{tenantId}/{connectionId} from Microsoft. |
| 4 | Cognipeer to Slack | Slack channels | Outbound HTTPS to slack.com/api and a WebSocket to *.slack.com (Socket Mode). No inbound port. The socket does not use a proxy. |
| 5 | Cognipeer to connector hosts | Connector actions and sync | Outbound HTTPS to the hosts a connector package declares, on port 443 unless the entry names a port, for example api.github.com, dev.azure.com, graph.microsoft.com, login.microsoftonline.com, Atlassian cloud hosts and s3.<region>.amazonaws.com. A server you enter in a connector's settings (a database, an object store, a self-hosted Git host) is reached on the port you entered. |
| 6 | GPU agent to Cognipeer, and Cognipeer to the GPU machine | GPU Fleet | The agent always connects outbound to Cognipeer over HTTPS. In Direct mode Cognipeer connects to each model port on the machine. In Agent gateway mode Cognipeer connects to one port (default 7480) or to an endpoint URL you set. In Relay mode the agent holds a WebSocket open to Cognipeer and nothing is opened on the machine. |
| 7 | GPU machine to the internet | Model weights, runtime images and packages | huggingface.co: on Apple Silicon the agent reads model repository sizes from its API at this fixed address while weights download. PyPI for the mlx-lm package on Apple Silicon. The container registries that host the model server images (the built-in runtimes use Docker Hub and ghcr.io). |
| 8 | Cognipeer to Hugging Face | Searching and looking up models in the GPU Fleet catalog | huggingface.co, or the mirror you set in HF_ENDPOINT. |
| 9 | Cognipeer to Cognipeer Support (optional) | The Help and Support hand-off | Server to server to SUPPORT_CRM_API_URL, and the browser is sent to SUPPORT_BASE_URL. Only when SUPPORT_BASE_URL, SUPPORT_CRM_API_URL and SUPPORT_HANDOFF_SECRET are set. |
Also on the list when you use them:
- Single sign-on. Cognipeer calls your identity provider over HTTPS (discovery, token, key set and, if enabled, user info). The person's browser is redirected to the provider and back to
<APP_URL>/api/auth/sso/callback. - LDAP. Cognipeer connects to your directory (
ldap://host:389orldaps://host:636) from the server. LDAP is for self-hosted installations only. - Mail. Cognipeer sends mail through the SMTP server you configure (
SMTP_HOST, default port587) or through SendGrid when it is configured. - Outgoing webhooks and tools. Cognipeer calls the URLs people configure. They go through the outbound guard described below.
Slack and Teams in detail, including every Microsoft host, are in Slack and Microsoft Teams channels. Connector rules are in Connector security and limits. The GPU Fleet pages are Overview, Onboarding and Networking and connection modes.
Proxy and certificates
| Variable | Use |
|---|---|
HTTPS_PROXY | Proxy for outbound requests (http://host:port; use https:// only if the proxy itself speaks TLS). |
HTTP_PROXY | Used when HTTPS_PROXY is not set. |
NO_PROXY | Hosts reached directly. Write internal domains with a leading dot (.svc.cluster.local): Node's fetch() reads a plain entry as that exact host and ignores CIDR ranges. |
NODE_EXTRA_CA_CERTS | The corporate CA, when a proxy re-signs certificates. |
BROWSER_IGNORE_CERTIFICATE_ERRORS | For the managed browser and the crawler's browser only, which cannot read the CA. It turns certificate checks off for every page. |
TRUSTED_PROXIES | The addresses of your reverse proxies, so Cognipeer sees real client addresses (token allowlists, portal network restrictions, rate limits and the audit log depend on it). |
Set these on every Cognipeer process, including worker nodes. The details and the exact behavior of each client are in Egress proxy.
Private connectivity
| Need | What to set |
|---|---|
| Tools, MCP servers, webhooks and other integrations call a private service | The outbound guard blocks private addresses by default. List the host in OUTBOUND_HTTP_ALLOWED_HOSTS (a leading dot matches subdomains); see Outbound HTTP. |
| A provider endpoint sits on a private network | On the hosted service, the operator opens the range for your organization with PROVIDER_PRIVATE_NETWORKS. See Provider private networks and Private networks on SaaS. |
| Connectors must reach private servers | On a self-hosted installation, CONNECTOR_EGRESS_PRIVATE_CIDRS narrows which private ranges are reachable. |
Cognipeer has no built-in site-to-site VPN. Connecting the hosted service to your network is a VPN or peering that the operator builds; after that, the settings above say which organizations may use it.
The licence
An Enterprise licence is a signed token. Cognipeer verifies it inside its own process against a public key (OFFLINE_LICENSE_PUBLIC_KEY or OFFLINE_LICENSE_PUBLIC_KEY_PATH), and the licence manager makes no network call to do so. You activate it under Settings → License. See Licensing.
Without internet access
There is no air-gap installation guide yet. This page cannot promise that every feature works on a disconnected network. What the flows above tell you:
- The licence is checked locally, so it does not need a connection (see The licence).
- Connector packages are part of the image, so they need no download. The connectors then need to reach their own servers.
- Models must come from somewhere you can reach: a provider on your network, or a model server on a GPU machine. GPU machines need Hugging Face, PyPI (Apple Silicon) and the container registries from flow 7.
HF_ENDPOINTpoints only Cognipeer's own catalog lookups (flow 8) at a mirror; for what the machines download, ask the Cognipeer team. - The documentation panel opens
https://docs.cognipeer.comin each person's browser. Serve a copy and setDOCS_BASE_URL.
Ask the Cognipeer team before you plan a disconnected installation.
Steps
- List the features you will use and keep only the matching rows of The flows.
- Send the firewall team the destinations, ports and directions. Say which are optional.
- Set the proxy and certificate variables, and
TRUSTED_PROXIESif you use a reverse proxy. - Restart every Cognipeer process, because these settings are read at start.
- Test as described below, from the server network and not from your laptop.
Verify
| What to run | What you should see |
|---|---|
GET /api/health/ready on your public address, from a client network | A successful response through your ingress. |
npm run diagnose:egress-proxy -- https://www.example.com https://other.example.com inside the Cognipeer container | The proxy configuration it found, whether each URL goes through the proxy, the DNS answer, what the proxy answers for the host (403: its policy does not allow the host; 407: it wants credentials) and the result of a real browser navigation. |
| The Live checks tab of the Diagnostics page, then Test now (see Diagnostics) | Live checks of the workspace's integrations and, on a self-hosted installation, outbound HTTPS through the configured proxy. Run it from inside your network and read each failing row. |
| Verify on a Slack or Teams channel | The same calls the channel makes, run from the server network. |
| Test connection on a GPU machine's Connection card | Whether the agent is connected or the gateway answers. |
Common problems
| Symptom | Cause | Fix |
|---|---|---|
The Slack channel shows socket_disconnected behind a proxy | The Slack socket does not use HTTPS_PROXY | Give the server a direct route to *.slack.com. |
| Teams stays on Waiting for the first message | Microsoft cannot reach the messaging endpoint | Publish /api/public/channels/teams/ over HTTPS at the APP_URL address. |
| A private provider endpoint is refused | Hosted service: private addresses are refused unless opened; self-hosted: OUTBOUND_HTTP_BLOCK_PRIVATE_NETWORK was set to true explicitly | Open the range with PROVIDER_PRIVATE_NETWORKS; on a self-hosted installation with the block on, list the host in OUTBOUND_HTTP_ALLOWED_HOSTS. |
| A public host name is refused as private | The server's DNS answers a private address for it | Add the host to OUTBOUND_HTTP_ALLOWED_HOSTS. |
| Certificate errors only through the proxy | TLS inspection re-signs certificates | NODE_EXTRA_CA_CERTS for Node; the browser setting above for the managed browser. |
| An internal domain still goes through the proxy | NO_PROXY entry written without a leading dot, or as a CIDR range | Use .internal.example form. |
| IP rules never match, or everybody looks like the proxy | TRUSTED_PROXIES is unset behind a proxy | Set it to the proxy addresses. |
| The documentation panel is empty | People's browsers cannot reach docs.cognipeer.com | Set DOCS_BASE_URL. |
| A GPU machine never appears | The agent cannot make its outbound HTTPS connection to Cognipeer | Open that path, or check the proxy settings on the machine. |
Next steps
- Configuration: every variable on this page.
- Deployment: ports, health probes and the container.
- Slack and Microsoft Teams channels.
- Monitoring: health, alerts and diagnostics.
- Networking and connection modes: Direct, Agent gateway and Relay for GPU machines.

