The file uploaded with windows desktop can not be checked or got via https://ipfs.io/ipfs/xxxxxx .I wonder if the file is uploaded

If other machines cant reach you using your published ipfs id then only way to get data from your node is that yours node connect to node searching for your data. To make it work you need to know who is searching for your data and then ipfs swarm connect to it.

this scenario is used for manual data transfers from unreachable nodes.

Thank you for you still there.And I still have some question :

  1. why would you use /ip4/87.138.167.17/tcp/63740/p2p/12D3KooWNiyuZBv5LG4Zvvywzi8QTTZ1jAKu3eNLBz6egyDhN4Z4 instead of /ip4/192.168.10.104/tcp/4001/p2p/12D3KooWNiyuZBv5LG4Zvvywzi8QTTZ1jAKu3eNLBz6egyDhN4Z4
    for rpi
  2. I didn’t change any port thing and I have tryed this :

    which use windows machine connnect rpi and success. Both machine are connected with same router, which means the information are available in intranet , but not in public. So maybe the port thing cause that.
  3. should I first use https://ismyportopen.com/ to test like this? just test 4001 or what else?
    image
  4. and Then i follow the guide to set up port ? could you plz explain more at this part , i am not really clear.

192.168.* are ips reserved for lan they not accessible from public internet

ipfs swarm connect /ip4/87.138.167.17/tcp/63740/p2p/12D3KooWNiyuZBv5LG4Zvvywzi8QTTZ1jAKu3eNLBz6egyDhN4Z4
Error: connect 12D3KooWNiyuZBv5LG4Zvvywzi8QTTZ1jAKu3eNLBz6egyDhN4Z4 failure: failed to dial 12D3KooWNiyuZBv5LG4Zvvywzi8QTTZ1jAKu3eNLBz6egyDhN4Z4: all dials failed

  • [/ip4/87.138.167.17/tcp/63740] dial tcp4 0.0.0.0:4001->87.138.167.17:63740: i/o timeout

you need to test for open port what is used on your internet address in your case /ip4/87.138.167.17/tcp/63740/p2p/12D… it will be port 63740

But i did that for my wiondows machine ,it should be 4001 and turn out that port is closed, is that means the port is raally thr reason ehich cause the problem.

your windows machine is broadcasting two ports 39778 and 4001. You need at least one working correctly.

OK,thx i will do that tomorrow, And one thing i want to make sure is that if it is like what i said at question 2 : I use windows machine connnect rpi and success. Both machine are connected with same router, which means the information are available in intranet , but not in public. So maybe the port thing cause that.

I found that when i use ‘ipfs id’ at cli:there are

“/ip4/88.217.185.150/tcp/4001/p2p/12D3KooWLpKz3tdEehMGPX42HPeSL4deyU6uMv4WbVHD2dgXbMqm”,
“/ip4/88.217.185.150/udp/4001/quic/p2p/12D3KooWLpKz3tdEehMGPX42HPeSL4deyU6uMv4WbVHD2dgXbMqm”,

But i cant find that tcp/4001 at ipfs desktop:
image

what’s the reason of that?

as for set up forwording a port, there is nothing about port thing in my router, if i just Plug the network cable directly into the computer and login with gateway:
image

is that reason i use this kind of internet(log in with username and password and discconnected every 10 hours) :
image

there are tools for setup port forward using upnp such as GitHub - Codeh4ck/UPnP-Port-Forwarder: A simple UPnP port forward tool
UPnP Wizard - Port Mapping Tool

i dont thik they will work because if upnp worked okay ipfs would used that. You need to call your provider support and ask about port forwarding.

Could you pls try to connect my node now?

ip4/127.0.0.1/tcp/4001/p2p/12D3KooWLpKz3tdEehMGPX42HPeSL4deyU6uMv4WbVHD2dgXbMqm

/ip4/127.0.0.1/udp/4001/quic/p2p/12D3KooWLpKz3tdEehMGPX42HPeSL4deyU6uMv4WbVHD2dgXbMqm

/ip4/192.168.10.101/tcp/4001/p2p/12D3KooWLpKz3tdEehMGPX42HPeSL4deyU6uMv4WbVHD2dgXbMqm

/ip4/192.168.10.101/udp/4001/quic/p2p/12D3KooWLpKz3tdEehMGPX42HPeSL4deyU6uMv4WbVHD2dgXbMqm

/ip4/88.217.185.150/tcp/64583/p2p/12D3KooWLpKz3tdEehMGPX42HPeSL4deyU6uMv4WbVHD2dgXbMqm

/ip4/88.217.185.150/udp/64583/quic/p2p/12D3KooWLpKz3tdEehMGPX42HPeSL4deyU6uMv4WbVHD2dgXbMqm

/ip6/::1/tcp/4001/p2p/12D3KooWLpKz3tdEehMGPX42HPeSL4deyU6uMv4WbVHD2dgXbMqm

it doesnt work. connection refused error

Could you pls try this two CID:
QmXCvnU52CAuswDmkQQ4RZBa7tYfubwDTH8DrqwvTJGQd2

QmWwZj5kLMh8u6e8wWn8QU5pTb6ZJZ4CcsUyMEYjm5ZDoH
Suddenly, my browser can access the file I uploaded,Sometimes it can be accessed, sometimes not,Is it because uploading to the public network is slow

I can access them via public gateway “gateway.ipfs.io

DONG via discuss.ipfs.io <ipfs1@discoursemail.com> 於 2021年4月1日週四 下午11:50寫道:

The former is a cosplayer and the latter is “fox fox fox fox”, right?

right , but somtimes it didn’t work ,just feel like it’s need time to upload,what about i upload a bigger image :QmTcJN81w8EiSjixUxwiAPcVSmt8WesC3F2cbWTguonkhu

But why i got 404 page not found when i click “gateway.ipfs.io

Now the problem is that sometimes I can upload it and sometimes I can’t. For example, the 3Mb image I just uploaded, I can access it immediately with a browser, but it only takes a long time to open the txt with a few kb.

It is one of the major public IPFS-web gateways. You need to append the protocol (ipfs) and the hash (e.g. QmXCvnU52CAuswDmkQQ4RZBa7tYfubwDTH8DrqwvTJGQd2) to reach the content.

https://gateway.ipfs.io/ipfs/QmXCvnU52CAuswDmkQQ4RZBa7tYfubwDTH8DrqwvTJGQd2
https://gateway.ipfs.io/ipfs/QmWwZj5kLMh8u6e8wWn8QU5pTb6ZJZ4CcsUyMEYjm5ZDoH
https://gateway.ipfs.io/ipfs/QmTcJN81w8EiSjixUxwiAPcVSmt8WesC3F2cbWTguonkhu

FYI here is a list of public gateways:
https://ipfs.github.io/public-gateway-checker/

so it should be similiar with ipfs.io/ipfs/xxxxx .

what is origins? and And does it take a long time to upload like i just repled to you?

The Origin column indicates whether a public gateway is compatible with same-origin policy. I bet it is not relevant to the issues you are encountering.