Playing with the Network

IPFS is all about networking! Included are a useful set of commands to aid in observing the network.

See who you’re directly connected to:

ipfs swarm peers

Manually connect to a specific peer. If the peer below doesn’t work, choose one from the output of ipfs swarm peers.

ipfs swarm connect /ip4/104.236.176.52/tcp/4001/ipfs/QmSoLnSGccFuZQJzRadHn95W2CrSFmZuTdDWP8HXaHca9z

Search for a given peer on the network:

ipfs dht findpeer QmSoLnSGccFuZQJzRadHn95W2CrSFmZuTdDWP8HXaHca9z

By whyrusleeping