There's 2 differents network interfaces which are covered by their respective section:

rest:
...
p2p:
...


## REST interface configuration

• messages: notify other peers this node is interested about Transactions typical setting for a non mining node: "low". For a stakepool: "high";
• blocks: notify other peers this node is interested about new Blocs. typical settings for a non mining node: "normal". For a stakepool: "high";