Default Ports

This is a list of the default ports used by Modality. You can configure all of these in their respective configuration files or with command line options.

# modalityd ports

  • 14181: socket for HTTP API (used by the modality CLI). Configured with api-addr config field or command line option. You can configure where the modality CLI looks for this connection with the modality config command.

  • 14182: socket for receiving data using the data collection protocol. Configured with connect-addr config field or command line option.

  • 14183: socket for HTTPS API (used by the modality CLI). Configured with api-addr-tls config field or command line option. Only enabled if tls-cert and tls-key are provided. You can configure where the modality CLI looks for this connection with the modality config command.

  • 14184: socket for receiving data using the data collection protocol with secure TLS encryption. Configured with connect-addr-tls config field or command line option. Only enabled if tls-cert and tls-key are provided.

  • 14192: socket for insecure connections for the Deviant mutation protocol (coming soon). Configured with mutation-connect-addr config field or command line option.

  • 14193: socket for secure TLS connections for the Deviant mutation protocol (coming soon). Configured with mutation-connect-addr-tls config field or command line option. Only enabled if tls-cert and tls-key are provided.

# reflector ports

  • 14188: socket for reflector to receive data. Configured with protocol-child-port config field or command line option.

  • plugin ports: depending on which modality-reflector command and plugins you are using, other ports may be used. These can be configured with the plugins.available-ports config field.