Ports

The four ports of a node, which protocol they speak and who should reach each one.

PortOptionProtocolWho reaches it
27017--portMongoDB wire protocol with TLSYour applications, mongosh and the tools
27100--peer-listenMutual TLS 1.3 between nodesOnly the other nodes
27200--admin-listenHTTPS: teseladb admin, /metrics and /healthzOperations, metrics and load balancers
27080--http-portHTTPS: REST API at /v1 and MCP at /mcpApplications and agents that use HTTP

What each one asks for

  • 27017: TLS always, and a user except with --insecure.
  • 27100: a node certificate signed by the cluster CA.
  • 27200: /healthz with no credentials; /metrics with a certificate of a user with clusterMonitor; the administration commands with clusterAdmin.
  • 27080: client certificate, OIDC token or API key. --http-port 0 turns it off.

By default all four listen on 127.0.0.1; change the addresses when deploying on several machines.