# Files stored for public use, how do public find stored files

**URL:** <https://discuss.ipfs.tech/t/files-stored-for-public-use-how-do-public-find-stored-files/1314>\
**Category:** Docs & Tutorials\
**Tags:** go-ipfs\
**Created:** [October 23, 2017, 11:26pm UTC](https://discuss.ipfs.tech/t/files-stored-for-public-use-how-do-public-find-stored-files/1314 "2017-10-23T23:26:07Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![JohnS](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ipfs.tech/johns/32/396_2.png) [@JohnS](https://discuss.ipfs.tech/u/JohnS)\
**Post date:** [October 23, 2017, 11:26pm UTC](https://discuss.ipfs.tech/t/files-stored-for-public-use-how-do-public-find-stored-files/1314/1 "2017-10-23T23:26:07Z")

</div>

I am using a PC so the commands in the tutorials on discuss ipfs are not working  
Please use a pc command line structure in your answers  
or a how to, via the localhost GUI  
I have stored files to my IPFS localhost for public use, not pinned  
I am connected to 331 public peers

1. How do the public find my files ?
2. How do I find and access other peers public files?  
3 how do I communicate to ie contact the public peers

---

<div class="post-metadata">

**Author:** ![JayBrown](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ipfs.tech/jaybrown/32/107_2.png) [@JayBrown](https://discuss.ipfs.tech/u/JayBrown)\
**Post date:** [October 24, 2017, 1:17am UTC](https://discuss.ipfs.tech/t/files-stored-for-public-use-how-do-public-find-stored-files/1314/2 "2017-10-24T01:17:52Z")

</div>

I don’t know enough, but I always thought that `ipfs` (available [here](https://dist.ipfs.io/#go-ipfs) for many platforms including Windows) was cross-platform also in the commands that are available. (?) Anyone with more insight?

---

<div class="post-metadata">

**Author:** ![leerspace](https://avatars.discourse-cdn.com/v4/letter/l/94ad74/32.png) [@leerspace](https://discuss.ipfs.tech/u/leerspace)\
**Post date:** [October 24, 2017, 1:39am UTC](https://discuss.ipfs.tech/t/files-stored-for-public-use-how-do-public-find-stored-files/1314/3 "2017-10-24T01:39:36Z")

</div>

> [@JayBrown](#):
>
> I always thought that ipfs (available here for many platforms including Windows) was cross-platform also in the commands that are available.

I think that’s generally true. The only difference I can think of (or that I’ve encountered) is that a command like

```auto
ipfs config --json API.HTTPHeaders.Access-Control-Allow-Origin '["*"]'

```

would be the following on Windows ([reference](https://github.com/ipfs/go-ipfs/issues/2034)):

```auto
ipfs config --json API.HTTPHeaders.Access-Control-Allow-Origin "[\"*\"]"

```

---

<div class="post-metadata">

**Author:** ![JohnS](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ipfs.tech/johns/32/396_2.png) [@JohnS](https://discuss.ipfs.tech/u/JohnS)\
**Post date:** [October 24, 2017, 1:53am UTC](https://discuss.ipfs.tech/t/files-stored-for-public-use-how-do-public-find-stored-files/1314/4 "2017-10-24T01:53:09Z")

</div>

Hi Jay and leerspace - tried the command ie C&P to a command prompt dos window and run it - it did not work I still get the failed IPFS Station message when trying to run via google chrome add on’s

Oh snap, it looks like your node is not running yet.

Please start it by running ipfs daemon on your terminal.

Also, please make sure you have CORS enabled, by running  
ipfs config --json API.HTTPHeaders ‘{“Access-Control-Allow-Origin”: ["\*"]}’

I have tried both and am stuck - daemon is running fine or I would not get a localhost and 317 peers

I still have not worked out how to communicate with the peers - but one step at a time LOL

---

<div class="post-metadata">

**Author:** ![leerspace](https://avatars.discourse-cdn.com/v4/letter/l/94ad74/32.png) [@leerspace](https://discuss.ipfs.tech/u/leerspace)\
**Post date:** [October 24, 2017, 2:03am UTC](https://discuss.ipfs.tech/t/files-stored-for-public-use-how-do-public-find-stored-files/1314/5 "2017-10-24T02:03:11Z")

</div>

> [@JohnS](#):
>
> Hi Jay and leerspace - tried the command ie C&P to a command prompt dos window and run it - it did not work I still get the failed IPFS Station message when trying to run via google chrome add on’s

What error do you get when running the command below?

```auto
ipfs config --json API.HTTPHeaders.Access-Control-Allow-Origin "[\"*\"]"

```

---

<div class="post-metadata">

**Author:** ![JohnS](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ipfs.tech/johns/32/396_2.png) [@JohnS](https://discuss.ipfs.tech/u/JohnS)\
**Post date:** [October 24, 2017, 2:10am UTC](https://discuss.ipfs.tech/t/files-stored-for-public-use-how-do-public-find-stored-files/1314/6 "2017-10-24T02:10:48Z")

</div>

> [@leerspace](#):
>
> ipfs config --json API.HTTPHeaders.Access-Control-Allow-Origin “["\*"]”

I just ran it again and there is no error it just goes back to the prompt \> but still get the Oh snap error- will try to morrow now - off to bed 03:10 here in the UK Catch you then.

---

<div class="post-metadata">

**Author:** ![leerspace](https://avatars.discourse-cdn.com/v4/letter/l/94ad74/32.png) [@leerspace](https://discuss.ipfs.tech/u/leerspace)\
**Post date:** [October 24, 2017, 2:24am UTC](https://discuss.ipfs.tech/t/files-stored-for-public-use-how-do-public-find-stored-files/1314/7 "2017-10-24T02:24:10Z")

</div>

> [@JohnS](#):
>
> I just ran it again and there is no error it just goes back to the prompt \> but still get the Oh snap error- will try to morrow now

When you try again, it might be worth making sure the daemon has been restarted after running the command (if your daemon hasn’t already been restarted by tomorrow).

---

<div class="post-metadata">

**Author:** ![JohnS](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ipfs.tech/johns/32/396_2.png) [@JohnS](https://discuss.ipfs.tech/u/JohnS)\
**Post date:** [October 25, 2017, 3:15pm UTC](https://discuss.ipfs.tech/t/files-stored-for-public-use-how-do-public-find-stored-files/1314/8 "2017-10-25T15:15:36Z")

</div>

HI Leerspace - IPFS Station up and working, properly needed the reboot - I Just done a youtube search for tutorials none found - google just links back to here no videos - I know I am Lazy - But If someone has it all worked out for Dummies like me? why not - Thanks for help

---

<div class="post-metadata">

**Author:** ![koalalorenzo](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ipfs.tech/koalalorenzo/32/745_2.png) [@koalalorenzo](https://discuss.ipfs.tech/u/koalalorenzo)\
**Post date:** [October 26, 2017, 4:16pm UTC](https://discuss.ipfs.tech/t/files-stored-for-public-use-how-do-public-find-stored-files/1314/9 "2017-10-26T16:16:41Z")

</div>

You could try to use the Docker container , which is setting the CORS headers by default (including `["*"]` as allowed origins)
