NATS Network Communications
Page last updated:
This topic describes NATS internal network communication paths with other Pivotal Application Service (PAS) components.
For more information about how Cloud Foundry integrates NATS, see PAS Routing Architecture.
Publish Communications
The following table lists network communications that are published to NATS:
Source VM | Destination VM | Port | Transport Layer Protocol | App Layer Protocol | Security and Authentication |
---|---|---|---|---|---|
cloud_controller (Route Registrar) | nats | 4222-4225 | TCP | NATS | Basic authentication |
loggregator_trafficcontroller (Route Registrar) | nats | 4222-4225 | TCP | NATS | Basic authentication |
mysql_proxy (Route Registrar)* | nats | 4222-4225 | TCP | NATS | Basic authentication |
nfs_server (Route Registrar)† | nats | 4222-4225 | TCP | NATS | Basic authentication |
uaa (Route Registrar) | nats | 4222-4225 | TCP | NATS | Basic authentication |
diego_cell (local Route Emitter) | nats | 4222-4225 | TCP | NATS | Basic authentication |
*Applies only to deployments where internal MySQL is selected as the database.
†Applies only to deployments where the internal NFS server is selected for file storage.
Subscribe Communications
The following table lists network communications that are subscribed to NATS:
Source VM | Destination VM | Port | Transport Layer Protocol | App Layer Protocol | Security and Authentication |
---|---|---|---|---|---|
router | nats | 4222-4225 | TCP | NATS | Basic authentication |
BOSH DNS Communications
By default, PAS components and app containers look up services using the BOSH DNS service discovery mechanism. To support this lookup, BOSH Director co-locates a BOSH DNS server on every deployed VM. For more information, see BOSH DNS Network Communications.