listen

Specifies the port on which the server is to listen for connections from clients.

listen=protocol://servername:port

For example:

listen=tcp://localhost:7222

If you are enabling TLS, for example:

listen=ssl://localhost:7222

You can use multiple listen entries if you have computers with multiple interfaces. For example:

listen=tcp://localhost:7222
listen=tcp://localhost:7224

If localhost is specified, or if the servername is not present, then the server uses every available interface. For example:

listen=tcp://7222
listen=ssl://7243

You can use an IP address instead of a host name. For example:

listen=tcp://192.168.10.107:7222

When specifying an IPv6 address, use square brackets around the address specification. For example:

listen=tcp://[2001:cafe::107]:7222