Skip to content

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 ​

QuestionConsequence
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.

#DirectionPurposeNotes
1People and visitors to CognipeerThe dashboard, the API and portalsHTTPS 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.
2Cognipeer to model providers and to your data storesModel calls, embeddings, files, and the databaseHTTPS 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.
3Outside systems to CognipeerWebhook triggers, connector triggers, Microsoft Teams, public MCP serversInbound 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.
4Cognipeer to SlackSlack channelsOutbound HTTPS to slack.com/api and a WebSocket to *.slack.com (Socket Mode). No inbound port. The socket does not use a proxy.
5Cognipeer to connector hostsConnector actions and syncOutbound 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.
6GPU agent to Cognipeer, and Cognipeer to the GPU machineGPU FleetThe 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.
7GPU machine to the internetModel weights, runtime images and packageshuggingface.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).
8Cognipeer to Hugging FaceSearching and looking up models in the GPU Fleet cataloghuggingface.co, or the mirror you set in HF_ENDPOINT.
9Cognipeer to Cognipeer Support (optional)The Help and Support hand-offServer 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:389 or ldaps://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 port 587) 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 ​

VariableUse
HTTPS_PROXYProxy for outbound requests (http://host:port; use https:// only if the proxy itself speaks TLS).
HTTP_PROXYUsed when HTTPS_PROXY is not set.
NO_PROXYHosts 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_CERTSThe corporate CA, when a proxy re-signs certificates.
BROWSER_IGNORE_CERTIFICATE_ERRORSFor the managed browser and the crawler's browser only, which cannot read the CA. It turns certificate checks off for every page.
TRUSTED_PROXIESThe 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 ​

NeedWhat to set
Tools, MCP servers, webhooks and other integrations call a private serviceThe 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 networkOn 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 serversOn 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_ENDPOINT points 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.com in each person's browser. Serve a copy and set DOCS_BASE_URL.

Ask the Cognipeer team before you plan a disconnected installation.

Steps ​

  1. List the features you will use and keep only the matching rows of The flows.
  2. Send the firewall team the destinations, ports and directions. Say which are optional.
  3. Set the proxy and certificate variables, and TRUSTED_PROXIES if you use a reverse proxy.
  4. Restart every Cognipeer process, because these settings are read at start.
  5. Test as described below, from the server network and not from your laptop.

Verify ​

What to runWhat you should see
GET /api/health/ready on your public address, from a client networkA successful response through your ingress.
npm run diagnose:egress-proxy -- https://www.example.com https://other.example.com inside the Cognipeer containerThe 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 channelThe same calls the channel makes, run from the server network.
Test connection on a GPU machine's Connection cardWhether the agent is connected or the gateway answers.

Common problems ​

SymptomCauseFix
The Slack channel shows socket_disconnected behind a proxyThe Slack socket does not use HTTPS_PROXYGive the server a direct route to *.slack.com.
Teams stays on Waiting for the first messageMicrosoft cannot reach the messaging endpointPublish /api/public/channels/teams/ over HTTPS at the APP_URL address.
A private provider endpoint is refusedHosted service: private addresses are refused unless opened; self-hosted: OUTBOUND_HTTP_BLOCK_PRIVATE_NETWORK was set to true explicitlyOpen 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 privateThe server's DNS answers a private address for itAdd the host to OUTBOUND_HTTP_ALLOWED_HOSTS.
Certificate errors only through the proxyTLS inspection re-signs certificatesNODE_EXTRA_CA_CERTS for Node; the browser setting above for the managed browser.
An internal domain still goes through the proxyNO_PROXY entry written without a leading dot, or as a CIDR rangeUse .internal.example form.
IP rules never match, or everybody looks like the proxyTRUSTED_PROXIES is unset behind a proxySet it to the proxy addresses.
The documentation panel is emptyPeople's browsers cannot reach docs.cognipeer.comSet DOCS_BASE_URL.
A GPU machine never appearsThe agent cannot make its outbound HTTPS connection to CognipeerOpen that path, or check the proxy settings on the machine.

Next steps ​

Studio · Pulse · Console · Agent SDK and more — the Cognipeer documentation hub · Contact Support