Test connections between nodes
You can get a list of all connected nodes by running ax nodes inspect
or selecting the Peers
tab in the Node Manager.
- Node Manager
- CLI
The Peers view displays all peers of the selected node.
Example Usage
ax nodes inspect 192.168.1.219
PeerId: 12D3KooWSgvc3hzrsuExYazNDB1BU3gevUPTzaumnwHWv5yFBNzH
SwarmAddrs:
/ip4/192.168.1.219/tcp/4001
/ip4/127.0.0.1/tcp/4001
/ip6/::1/tcp/4001
AnnounceAddrs:
/ip4/192.168.1.219/tcp/4001/p2p/12D3KooWSgvc3hzrsuExYazNDB1BU3gevUPTzaumnwHWv5yFBNzH
AdminAddrs:
/ip4/192.168.1.219/tcp/4458
Connections:
+------------------------------------------------------+--------------------------------------------------------------------------------------+
| PEERID | ADDRESS |
+------------------------------------------------------+--------------------------------------------------------------------------------------+
| 12D3KooWSVZEwAqdcJEG2T3wR8CZZoneWFyPqpRsxSzVB3WLwtVt | /ip4/192.168.1.165/tcp/4001/p2p/12D3KooWSVZEwAqdcJEG2T3wR8CZZoneWFyPqpRsxSzVB3WLwtVt |
+------------------------------------------------------+--------------------------------------------------------------------------------------+
Addresses:
+------------------------------------------------------+--------------------------------------------------------------------------------------+
| PEERID | ADDRESS |
+------------------------------------------------------+--------------------------------------------------------------------------------------+
| 12D3KooWSVZEwAqdcJEG2T3wR8CZZoneWFyPqpRsxSzVB3WLwtVt | /ip6/::1/tcp/4001/p2p/12D3KooWSVZEwAqdcJEG2T3wR8CZZoneWFyPqpRsxSzVB3WLwtVt |
| | /ip4/192.168.1.165/tcp/4001/p2p/12D3KooWSVZEwAqdcJEG2T3wR8CZZoneWFyPqpRsxSzVB3WLwtVt |
| | /ip4/127.0.0.1/tcp/4001/p2p/12D3KooWSVZEwAqdcJEG2T3wR8CZZoneWFyPqpRsxSzVB3WLwtVt |
+------------------------------------------------------+--------------------------------------------------------------------------------------+
The output above shows you:
PeerId
: Peer ID of your nodeSwarmAddrs
: Addresses that the Swarm API bound toAnnounceAddrs
: Addresses that your node is announcing to other nodes for reaching its Swarm API (SwarmAddrs)adminAddrs
: Addresses that the Admin API bound to (for interaction with CLI or Node Manager)Connections
: List of active connections to peers, identified by peer ID and addressknownPeers
: List of all peers, identified by peer ID and address, that your node knows