# How to Sync multible local grin nodes?

**URL:** <https://forum.grin.mw/t/how-to-sync-multible-local-grin-nodes/9464>\
**Category:** Tech Support\
**Created:** [December 23, 2021, 8:04pm UTC](https://forum.grin.mw/t/how-to-sync-multible-local-grin-nodes/9464 "2021-12-23T20:04:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Doogevol](https://avatars.discourse-cdn.com/v4/letter/d/5f8ce5/32.png) [@Doogevol](https://forum.grin.mw/u/Doogevol)\
**Post date:** [December 23, 2021, 8:04pm UTC](https://forum.grin.mw/t/how-to-sync-multible-local-grin-nodes/9464/1 "2021-12-23T20:04:30Z")

</div>

Hi,  
scenario:

- I have got a poor internet connection and want to save traffic and time while testing.
- I want to test and try different grin node implementations and versions.
- for example one instance is fully synced, or almost fully synced like missing 2 days.

can I connect the nodes directly, with LAN IPs somehow?

---

<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:** [December 23, 2021, 9:10pm UTC](https://forum.grin.mw/t/how-to-sync-multible-local-grin-nodes/9464/2 "2021-12-23T21:10:51Z")

</div>

Interesting question.

But I think it would be possible if you modify your `grin-server.toml` to connect to a local IP address.  
From an example file [grin-server.toml](https://github.com/Grinnode-live/grinnode.live/blob/master/grin-server.toml) you can look at line [113](https://github.com/Grinnode-live/grinnode.live/blob/master/grin-server.toml#L113):

```auto
#hardcoded peer lists for allow/deny
#will *only* connect to peers in allow list
#peers_allow = ["192.168.0.1:3414", "192.168.0.2:3414"]

#will *never* connect to peers in deny list
#peers_deny = ["192.168.0.3:3414", "192.168.0.4:3414"]

#a list of preferred peers to connect to
# grinnode.live HA IP for fast sync
#peers_preferred = ["213.239.215.236:3414"]

```

Using `#peers_allow = ["192.168.0.1:3414", "192.168.0.2:3414"]` should solve the problem in order to connect to one of your node.

---

<div class="post-metadata">

**Author:** ![Doogevol](https://avatars.discourse-cdn.com/v4/letter/d/5f8ce5/32.png) [@Doogevol](https://forum.grin.mw/u/Doogevol)\
**Post date:** [December 24, 2021, 7:43pm UTC](https://forum.grin.mw/t/how-to-sync-multible-local-grin-nodes/9464/3 "2021-12-24T19:43:28Z")

</div>

Thank you for your answer. I think that should work to connect rust-nodes. Does grin++ support direct IP connections?
