Playing with the Network

View this page on the new IPFS Docs beta

This content is now available at docs-beta.ipfs.io, a fully redesigned resource with search, reorganized content, and more.

Go >

Our interactive tutorials help you learn about the the decentralized web by writing code and solving challenges: Open Tutorials at ProtoSchool  

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