# Getsockopt: connection refused ipfshttp.go when run ipfs cluster in ubutu 16.04

**URL:** <https://discuss.ipfs.tech/t/getsockopt-connection-refused-ipfshttp-go-when-run-ipfs-cluster-in-ubutu-16-04/6406>\
**Category:** Help\
**Created:** [October 3, 2019, 3:12am UTC](https://discuss.ipfs.tech/t/getsockopt-connection-refused-ipfshttp-go-when-run-ipfs-cluster-in-ubutu-16-04/6406 "2019-10-03T03:12:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![duypv1997](https://avatars.discourse-cdn.com/v4/letter/d/f05b48/32.png) [@duypv1997](https://discuss.ipfs.tech/u/duypv1997)\
**Post date:** [October 3, 2019, 3:12am UTC](https://discuss.ipfs.tech/t/getsockopt-connection-refused-ipfshttp-go-when-run-ipfs-cluster-in-ubutu-16-04/6406/1 "2019-10-03T03:12:47Z")

</div>

I created a private ipfs cluster in ubuntu 16.04, but when i run peers, it notification error:

18:21:50.343 ERROR ipfshttp: error getting:Get [http://127.0.0.1:5001/api/v0/repo/stat:](http://127.0.0.1:5001/api/v0/repo/stat:) dial tcp 127.0.0.1:5001: getsockopt: connection refused ipfshttp.go:695

Can you help me ?

---

<div class="post-metadata">

**Author:** ![hector](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ipfs.tech/hector/32/178_2.png) [@hector](https://discuss.ipfs.tech/u/hector)\
**Post date:** [October 3, 2019, 7:39am UTC](https://discuss.ipfs.tech/t/getsockopt-connection-refused-ipfshttp-go-when-run-ipfs-cluster-in-ubutu-16-04/6406/2 "2019-10-03T07:39:40Z")

</div>

It would seem you are not running IPFS (if you are starting both a the same time this error may occur (since ipfs takes a while longer to boot up, but is not critical).

---

<div class="post-metadata">

**Author:** ![duypv1997](https://avatars.discourse-cdn.com/v4/letter/d/f05b48/32.png) [@duypv1997](https://discuss.ipfs.tech/u/duypv1997)\
**Post date:** [October 3, 2019, 9:29am UTC](https://discuss.ipfs.tech/t/getsockopt-connection-refused-ipfshttp-go-when-run-ipfs-cluster-in-ubutu-16-04/6406/3 "2019-10-03T09:29:17Z")

</div>

thank you, it worked
