I have set up two ipfs node in two different machines, none of them have PUBLIC IP. Now when i try to connect node with this command
ipfs swarm connect /ip4/192.168.101.28/tcp/4001/p2p/12D3KooWGkCcZDwMEeyVgoe5P2Kqh6ffvcitZZBLeBu8tJKyXy9S
i am getting the following error response
`Error: connect 12D3KooWGkCcZDwMEeyVgoe5P2Kqh6ffvcitZZBLeBu8tJKyXy9S failure: failed to dial 12D3KooWGkCcZDwMEeyVgoe5P2Kqh6ffvcitZZBLeBu8tJKyXy9S: all dials failed
- [/ip4/192.168.103.103/tcp/49192] dial tcp4 0.0.0.0:4001->192.168.103.103:49192: i/o timeout
- [/ip4/192.168.101.28/tcp/36963] dial tcp4 0.0.0.0:4001->192.168.101.28:36963: i/o timeout
I tried this from both node to connect to another, but none is successful. Is this happening because the machines do not have PUBLIC IP?
If no then how do i solve this problem?