Cannoot reach files on browser that I added via IPFS Desktop

Hello everyone,
I’m newbie on ipfs.
I imported a folder with png files inside, and ipfs generated CID for every file and folder,
when I clicked to one of png in ipfs desktop it is openinng, but when I copy file link and try open on browser it is not reaching.
what Im doing wrong?
Should my laptop always running ?
example: https://ipfs.io/ipfs/QmZ7rbW5M9R2HMcUSEvFjx6MFn8RQizHVy1yozehtnaLVM?filename=0.png
edit: when I browse from ipfs desktop like
/ipfs/QmZ7rbW5M9R2HMcUSEvFjx6MFn8RQizHVy1yozehtnaLVM
it says:
Sorry, this file can’t be previewed :cry:

Try opening it instead with your local gateway or public gateway.

IPFS io gateway needs connect to your node to get requested file. It will cache result for a while so technically your laptop don’t have to be online 24/7.

Is there any configuration to set it reachable to all?

Its enough to be able to accept incoming connection from gateway.

thanks, and last one, what if I never run my lapton on which I import my files, will they still be reacheable? The files distrubutes to other peers?

Files are not send to other peers unless peer asks for it.

I did test how long can IPFS.IO cache file if source becomes unavailable and on 1st attempt it’s about 10 hours. I will do more measurements. That’s quite short time, when IPFS started it used to be few weeks.

1 Like

do you know why I cant reach file on ipfs desktop seraching by
/ipfs/QmSBjBuR8PjT1kKDVHcvXQSA52AuXiT8hJAcvRwATXi6uq
and receive this message:
Sorry, this file can’t be previewed :cry:

Try opening it instead with your local gateway or public gateway.

but when clicking to “local gateway” it is showing well even this file not my local file ?