Skip to main content

Port Matrix

Complete port and protocol requirements for Chatty AI deployment.

User-Facing Ports (Required)

PortProtocolServicePurposeExposed To
443HTTPSNginxMain application accessUsers
80HTTPNginxRedirect to HTTPSUsers
8000HTTPNginxAdditional service portUsers

Portainer Edge Agent Ports (If Using Portainer)

PortProtocolServicePurposeDirection
443HTTPSPortainer ServerAPI communicationOutbound to vendor
8000WebSocketPortainer ServerManagement tunnelOutbound to vendor

Important: Customer must allow outbound to vendor Portainer Server (e.g., portainer.chatty-ai.ai:443 and :8000)

Internal Container Ports (NOT Exposed)

These ports are internal to Docker network only:

PortServicePurposeExposed
5432PostgreSQLDatabase❌ Internal only
6333QdrantVector database❌ Internal only
8080Chatty AIApplication❌ Via Nginx only
3001Chatty AIWebSocket❌ Via Nginx only
9099PipelinesAI pipelines❌ Internal only
5678n8nWorkflows❌ Via Nginx only
5555Databases AINL to SQL❌ Internal only
8080Databases EngineQuery engine❌ Internal only
8000Databases IbisData transform❌ Internal only
3000Databases UIDatabase UI❌ Via Nginx only

External Connectivity (Outbound)

DestinationPortProtocolPurposeRequired
LLM Endpoint443HTTPSAI model inference✅ Yes
Portainer Server443, 8000HTTPS/WSManagement (if Portainer)⚠️ If using Portainer
LDAP Server389/636LDAP/LDAPSAuthentication (if configured)⚠️ If using LDAP
SSO Provider443HTTPSAuthentication (if configured)⚠️ If using SSO
DNS Server53DNSName resolution✅ Yes

Firewall Rules Summary

Customer Firewall - Inbound

# Allow user access
allow from user_networks to chatty_server port 443 proto tcp
allow from user_networks to chatty_server port 80 proto tcp
allow from user_networks to chatty_server port 8000 proto tcp

# Allow admin SSH (optional, restrict by IP)
allow from admin_ips to chatty_server port 22 proto tcp

Customer Firewall - Outbound

# Required: LLM endpoint
allow from chatty_server to llm.chatty-ai.ai port 443 proto tcp

# Required if using Portainer
allow from chatty_server to portainer.chatty-ai.ai port 443 proto tcp
allow from chatty_server to portainer.chatty-ai.ai port 8000 proto tcp

# Required: DNS
allow from chatty_server to dns_servers port 53 proto udp

# Optional: LDAP (if configured)
allow from chatty_server to ldap_server port 389 proto tcp
allow from chatty_server to ldap_server port 636 proto tcp

# Optional: SSO (if configured)
allow from chatty_server to sso_provider port 443 proto tcp

Security Notes

  1. Never expose internal ports (PostgreSQL, Qdrant, etc.) directly to network
  2. All user traffic goes through Nginx reverse proxy
  3. Portainer Edge Agent only needs outbound - no inbound management ports
  4. Database ports must remain internal to Docker network only
  5. Use VPN for admin SSH access (recommended)