# How visit private network of ipfs resource?

**URL:** <https://discuss.ipfs.tech/t/how-visit-private-network-of-ipfs-resource/1839>\
**Category:** Help\
**Tags:** go-ipfs\
**Created:** [January 15, 2018, 11:02pm UTC](https://discuss.ipfs.tech/t/how-visit-private-network-of-ipfs-resource/1839 "2018-01-15T23:02:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![shishi614](https://avatars.discourse-cdn.com/v4/letter/s/35a633/32.png) [@shishi614](https://discuss.ipfs.tech/u/shishi614)\
**Post date:** [January 15, 2018, 11:02pm UTC](https://discuss.ipfs.tech/t/how-visit-private-network-of-ipfs-resource/1839/1 "2018-01-15T23:02:46Z")

</div>

for example:public network of ipfs via [http://ipfs.io/ipfs/QmZhNfGkkqgzmCbW4gZe5JUA4mRWzWGQPmejcBeiCcG6i2](http://ipfs.io/ipfs/QmZhNfGkkqgzmCbW4gZe5JUA4mRWzWGQPmejcBeiCcG6i2) can visit my resource by ipfs add command .  
how can i visit private network of ipfs resource via web way??

Private Networks the way of create as follow :

Private Networks  
Allows ipfs to only connect to other peers who have a shared secret key.

State  
Experimental

In Version  
master, 0.4.7

How to enable  
Generate a pre-shared-key using ipfs-swarm-key-gen):

---

<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:** [January 16, 2018, 1:10am UTC](https://discuss.ipfs.tech/t/how-visit-private-network-of-ipfs-resource/1839/2 "2018-01-16T01:10:17Z")

</div>

You could use the local gateway of one of the nodes in the private swarm. For example, [http://localhost:8080/ipfs/QmZhNfGkkqgzmCbW4gZe5JUA4mRWzWGQPmejcBeiCcG6i2](http://localhost:8080/ipfs/QmZhNfGkkqgzmCbW4gZe5JUA4mRWzWGQPmejcBeiCcG6i2)
