When a ipfs daemon starts, where does it connect to? Is the default DHT locations hardcoded?
Yes. This process is called “bootstrapping”. You can see the default nodes in the
Bootstrap section of your
Two questions for you:
- How big is the file?
- Did your friend try getting the file immediately after you added it?
I ask because the process of providing a file to the network (that is, providing each of its blocks) takes longer than we want it to at the moment, and so the “solution” may be to wait a little longer.
Have you tried adding a small file to the network and checking if your friend can access it? Something like:
$ echo "something relatively unique between you and your friend" | ipfs add
This should be available to your friend in, at most, a couple of minutes.