<p>As mentioned above, your command needs to be <code>./bitcoind -connect=&lt;iplocal&gt;</code></p>

<p><code>-connect=</code> will connect ONLY to that specified node. <code>-addnode=</code> will connect to the specified node in addition to attempting to connect to global nodes. If you're bootstrapping a new node either will work </p>

CC BY-SA 4.0
2020-05-14T20:21:19.470Z
2020-05-14T20:21:19.470Z
Mike
<p>I currently have a full bitcoin node on my local network and I would like to create another node but only update it by local network.</p>

<p>I have tried with: 
<code>./bitcoind -connect&lt;iplocal&gt;</code> 
<code>./bitcoind -addnode&lt;iplocal&gt;</code> 
but I get the following error 
<code>syntax error near unexpected token `newline'</code>
I appreciate your help. </p>

CC BY-SA 4.0
2020-04-01T21:11:51.403Z
You need an equals sign (`=`) after `-connect`.
Pieter Wuille
CC BY-SA 4.0
2020-04-01T23:23:40.240Z
i'm goint to try ```./bitcoin-qt -connect="iplocal"```
David Melo
<bitcoin-core><bitcoind><synchronization><peers>
How to connect a bitcoin node to a complete node through the local network?
David Melo
# How to connect a bitcoin node to a complete node through the local network?

(Asked by: username_0 on 2020-04-01)

I currently have a full bitcoin node on my local network and I would like to create another node but only update it by local network.

I have tried with:
`./bitcoind -connect<iplocal>`
`./bitcoind -addnode<iplocal>`
but I get the following error
`syntax error near unexpected token `newline'`
I appreciate your help.

**Tags:** bitcoin-core, bitcoind, synchronization, peers

> **Comments:**
> **username_1**: You need an equals sign (`=`) after `-connect`.  
> **username_0**: i'm goint to try ```./bitcoin-qt -connect="iplocal"```  

---

## 1 answers

### Answer by username_2 on 2020-05-14. Score: 3 | Accepted answer

As mentioned above, your command needs to be `./bitcoind -connect=<iplocal>`

`-connect=` will connect ONLY to that specified node. `-addnode=` will connect to the specified node in addition to attempting to connect to global nodes. If you're bootstrapping a new node either will work


---

