The node-ban-peer-address
command in Mintlayer is utilized to ban a specific address from connecting to your node. This action is an important part of managing your node's network security and can be used to prevent potentially harmful or disruptive peers from accessing your node.
node-ban-peer-address <ADDRESS>
<ADDRESS>
: The IP address of the peer you wish to ban from connecting to your node.-h, --help
: Displays help information about the node-ban-peer-address
command.Banning a Peer Address:
To ban a peer with the IP address 192.168.160.99
from connecting to your node, the command would be:
node-ban-peer-address 192.168.160.99
Upon successful execution, you will receive a confirmation:
Success
This indicates that the specified address has been successfully banned from connecting to your node.