# Connecting Ironbelly to own node

**URL:** <https://forum.grin.mw/t/connecting-ironbelly-to-own-node/9602>\
**Category:** Tech Support\
**Created:** [February 20, 2022, 5:32pm UTC](https://forum.grin.mw/t/connecting-ironbelly-to-own-node/9602 "2022-02-20T17:32:31Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Trinitron](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.grin.mw/trinitron/32/4990_2.png) [@Trinitron](https://forum.grin.mw/u/Trinitron)\
**Post date:** [February 20, 2022, 5:32pm UTC](https://forum.grin.mw/t/connecting-ironbelly-to-own-node/9602/1 "2022-02-20T17:32:31Z")

</div>

I’m having trouble getting Ironbelly to connect to my own node.

So far I have:

Set API address to “0.0.0.0:3413” in grin-server.toml

Opened 3413 TCP in ufw

Created an A record [grinnode.mydomain.com](http://grinnode.mydomain.com)

Set API secret in Ironbelly from basic auth secret

Can anyone think of anything else to do?

Node is not on my network so this isn’t a hairpin NAT issue

I’m unsure of what formats the Ironbelly URL accepts, does [http://grinnode.mydomain.com](http://grinnode.mydomain.com) work?

Is https with valid cert required?

---

<div class="post-metadata">

**Author:** ![Trinitron](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.grin.mw/trinitron/32/4990_2.png) [@Trinitron](https://forum.grin.mw/u/Trinitron)\
**Post date:** [February 20, 2022, 9:30pm UTC](https://forum.grin.mw/t/connecting-ironbelly-to-own-node/9602/2 "2022-02-20T21:30:37Z")

</div>

Solved: I was using ~/.grin/main/.api\_secret but you must use ~/.grin/main/.foreign\_api\_secret

So far I have tested that http://[ipv4 address]:3413 and [http://grinnode.mydomain.com:3413](http://grinnode.mydomain.com:3413) both work. I haven’t tested dropping the port or protocol from the url so I don’t know if that works too. Sometimes it seems like you have to restart the app to really test any new entry in the grin node setting.

---

<div class="post-metadata">

**Author:** ![mcm-mike](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.grin.mw/mcm-mike/32/3492_2.png) [@mcm-mike](https://forum.grin.mw/u/mcm-mike)\
**Post date:** [February 21, 2022, 8:55am UTC](https://forum.grin.mw/t/connecting-ironbelly-to-own-node/9602/3 "2022-02-21T08:55:53Z")

</div>

For testing purposes you can always use the public and free GRIN-API from [Grinnode.live](https://github.com/Grinnode-live/grinnode.live)

```auto
https://grinnode.live:3413

```

Logging policy: [https://grinnode.live/privacy-policy](https://grinnode.live/privacy-policy)
