Listen block

The listen block allows you to specify the ports on which the IRCd will listen.

Syntax
listen  { options { ;		 ;		...	}; };

If no options { } are required, you can use the simplified form: listen ;.

ip and port
You can set ip to * to bind to all available ips, or specify one to only bind to that ip (this latter is usually required at shell providers). The port is the port you want to listen on.

Info for IPv6 users
If you have an IPv6 enabled server you need to enclose the IP in brackers. Like [::1]:6667 (listen at localhost on port 6667). If you are using IPv6 and you want to listen at a specific IPv4 addr you need to use ::ffff:ipv4ip. For example: [::ffff:203.123.67.1]:6667 which will listen at 203.123.67.1 on port 6667. Of course you can also just use *.

options block (optional)
You can specify special options for this port if you want, valid options are:
 * ssl: TLS/SSL encrypted port
 * clientsonly: port is only for clients
 * serversonly: port is only for servers

Example
listen *:6697 { options { ssl; clientsonly; }; };

Or if there are no options: listen *:8067; listen 213.12.31.126:6667; listen *:6660-6669;