PDF Server Ports
Inbound
4005
PDF server
HTTP, or HTTPS when ENABLE_SSL is set
FORMIO_PDF_PORT
4005
Main API and the /view viewer. The only port clients need.
8080
pdf-libs
HTTP
PDFLIBS_PORT
8080
Internal, in the same container. PDF-to-HTML conversion and form-field extraction. Don't publish it.
Outbound
8080
pdf-libs (loopback)
PDFLIBS_URL
http://localhost:8080
Must match PDFLIBS_PORT. The Dockerfile sets PDFLIBS_URL=http://localhost:8080.
4005
Itself (loopback)
FORMIO_VIEWER, PAGE_POOL_DEFAULT_VIEWER
http(s)://localhost:${FORMIO_PDF_PORT}/view/...
Headless Chrome loads the viewer and /resources from the server's own port.
443 or 80
Enterprise API server
FORMIO_SERVER
https://api.form.io
Otherwise the x-host request header is used.
27017
MongoDB
MONGO (or MONGO_PORT_27017_TCP_PORT)
localhost:27017, or mongo:27017 inside Docker
8333
S3-compatible storage
FORMIO_S3_PORT
8333
A per-project storage setting can override it. Set it to 443 for AWS S3 or 9000 for MinIO.
443
Azure Blob
FORMIO_AZURE_CONNECTION_STRING
HTTPS
443
AWS Textract / SNS / S3
TEXTRACT_*
HTTPS
Used only when Textract is configured.
443
License server
LICENSE_SERVER
https://license.form.io
443
PDF project
FORMIO_PDF_PROJECT
none
any
Proxy
PROXY, HTTP_PROXY, HTTPS_PROXY
none
Passed to Chrome with --proxy-server.
4318
OTLP collector
OTEL_*
SDK default
Used only when telemetry is enabled.
Headless Chrome is launched through Puppeteer with no fixed remote-debugging port, so it doesn't open a port you need to allow.
Typical Deployment Settings
Clients / load balancer
API server
80 (or your PORT)
Clients / API server
PDF server
4005
API server
MongoDB
27017
PDF server
MongoDB
27017
PDF server
API server
80/443 (FORMIO_SERVER)
PDF server
S3 / MinIO
8333 by default (usually 443 or 9000)
Both
license.form.io
443
API server
SMTP relay
587
PDF server
pdf-libs
8080 (loopback only)
Last updated
Was this helpful?
