# Why can't 2 machines running ipfs daemons on same local net share files?

**URL:** <https://discuss.ipfs.tech/t/why-cant-2-machines-running-ipfs-daemons-on-same-local-net-share-files/16561>\
**Category:** Kubo\
**Created:** [June 12, 2023, 9:54pm UTC](https://discuss.ipfs.tech/t/why-cant-2-machines-running-ipfs-daemons-on-same-local-net-share-files/16561 "2023-06-12T21:54:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ThomasFreedman1](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ipfs.tech/thomasfreedman1/32/4720_2.png) [@ThomasFreedman1](https://discuss.ipfs.tech/u/ThomasFreedman1)\
**Post date:** [June 12, 2023, 9:54pm UTC](https://discuss.ipfs.tech/t/why-cant-2-machines-running-ipfs-daemons-on-same-local-net-share-files/16561/1 "2023-06-12T21:54:09Z")

</div>

I’ve been working with ipfs for 4 years now but I’m totally puzzled by this problem, I’ve not seen this before. I must be missing something obvious.

These are desktop Linux machines, both on same 192.168.2.x subnet. Both have ipfs companion browser extension, and both have over 1000 peer connections which change dynamically. They both can access the webui.

but they can’t access each other!

I added a peer definition to each of the server configs in the “Peering/Peers” section for the other node like so:

> ```
> {
> "Addrs": [
> "/ip4/192.168.2.180/tcp/4001"
> ],
> "ID": "12D3KooWDsudkyLhzdMVG6Rw2qvnKEPKCEeGuqLky2My3wNSq32m"
> }
> 
> ```

But it doesn’t help. I can add files to each server and get them back on the same server, no problem. When I attempt to get a file on the other system it hangs & doesn’t return.

Anyone have suggestions on this? I’ve never experienced such an issue and it’s driving me crazy.

---

<div class="post-metadata">

**Author:** ![Discordian](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ipfs.tech/discordian/32/4692_2.png) [@Discordian](https://discuss.ipfs.tech/u/Discordian)\
**Post date:** [June 12, 2023, 10:20pm UTC](https://discuss.ipfs.tech/t/why-cant-2-machines-running-ipfs-daemons-on-same-local-net-share-files/16561/2 "2023-06-12T22:20:46Z")

</div>

Does the other local peer show up in `ipfs swarm peers`? Additionally, does it work as expected if you include the peerID in your Addrs array? IE: `/ip4/192.168.2.180/tcp/4001/p2p/peerID`. Finally, does `ipfs swarm connect <multiaddr>` yield any information when attempting to connect manually?

---

<div class="post-metadata">

**Author:** ![ylempereur](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ipfs.tech/ylempereur/32/5528_2.png) [@ylempereur](https://discuss.ipfs.tech/u/ylempereur)\
**Post date:** [June 13, 2023, 12:58am UTC](https://discuss.ipfs.tech/t/why-cant-2-machines-running-ipfs-daemons-on-same-local-net-share-files/16561/3 "2023-06-13T00:58:38Z")

</div>

Would you, by any chance, have anything defined in:

```auto
"Swarm": {
  "AddrFilters": [
    ...
  ],

```

---

<div class="post-metadata">

**Author:** ![Jorropo](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ipfs.tech/jorropo/32/3230_2.png) [@Jorropo](https://discuss.ipfs.tech/u/Jorropo)\
**Post date:** [June 13, 2023, 10:00am UTC](https://discuss.ipfs.tech/t/why-cant-2-machines-running-ipfs-daemons-on-same-local-net-share-files/16561/4 "2023-06-13T10:00:47Z")

</div>

After checking the two messages above.  
Can you show `ipfs stats dht lan` after the two machines has been running for ~10 minutes ?  
If they have failed to discover each other that means your network is about as good as WAN connections.
