For the complete documentation index, see llms.txt. This page is also available as Markdown.

Enterprise Server Ports

Inbound

Port
Protocol
Set by
Default
Notes

80

HTTP, or HTTPS when ENABLE_SSL is set

PORT

80

The only port the server opens. main.js calls app.listen(config.port). The Dockerfile has EXPOSE 80.

3000

HTTP

PORT=3000 in the start:debug npm script

—

Local dev only. docker-compose.yml also maps host 3000 to container 80.

  • Setting ENABLE_SSL serves HTTPS on the same PORT; there's no separate 443 listener. To serve 443, set PORT=443 or put a TLS proxy in front.

  • When PORT isn't 80, the port is appended to the generated host, apiHost and formioHost URLs.

  • The container runs as a non-root user (formiouser, UID 5000).

Outbound

Port
Destination
Set by
Default
Notes

27017

MongoDB

MONGO (or MONGO_PORT_27017_TCP_PORT)

localhost:27017, or mongo:27017 inside Docker

Required.

443

License server

LICENSE_SERVER

https://license.form.io

License validation and usage reporting.

4005 (typical)

PDF server

PDF_SERVER / FORMIO_FILES_SERVER

none

Takes a full URL, so the port is whatever you set. http://pdf-server:4005 is a special value, so see Gotchas.

443

PDF project

FORMIO_PDF_PROJECT

https://pdf.form.io

587

SMTP (SendGrid, Mailgun)

fixed in code

smtp.sendgrid.net:587, smtp.mailgun.org:587

STARTTLS (secure: false).

configurable

Custom SMTP

project email settings (email.smtp.port)

from the project settings

4318

OTLP collector

OTEL_EXPORTER_OTLP_*_ENDPOINT

http://localhost:4318 (SDK default)

Used only when telemetry is enabled. The bootstrap stops the SDK from posting to 4318 for any signal without an endpoint.

443

Third parties (Dropbox, Fortis, Kickbox, OAuth/SAML IdPs, webhooks)

project settings, FORTIS_ENDPOINT

HTTPS

Depends on which features are configured.

any

TEMPLATE_SERVICE, CRM

env vars

none

Full URLs.

Last updated

Was this helpful?