<p>If your IP address changes, you reconnect to the network and broadcast a new <code>node_announcement</code> message containing the set of your node's reachable addresses and an updated timestamp. The node's public key identifies the node  and all of its channels and may not change. All other information in the node_announcement message can be changed.</p>

CC BY-SA 4.0
2018-10-31T22:17:49.693Z
2018-10-31T22:17:49.693Z
Mark H
<p>What happens if suddenly my IP/Onion address changes? Will that be a problem for the lightning network? Or could my node just simply update the network graph as long as its public key stays the same?</p>

<lightning-network><ln-node-identity><ip-address>
How does the lightning network handle changing IPs?
Dalit Sairio
# How does the lightning network handle changing IPs?

(Asked by: username_0 on 2018-10-30)

What happens if suddenly my IP/Onion address changes? Will that be a problem for the lightning network? Or could my node just simply update the network graph as long as its public key stays the same?

**Tags:** lightning-network, ln-node-identity, ip-address


---

## 1 answers

### Answer by username_1 on 2018-10-31. Score: 6 | Accepted answer

If your IP address changes, you reconnect to the network and broadcast a new `node_announcement` message containing the set of your node's reachable addresses and an updated timestamp. The node's public key identifies the node and all of its channels and may not change. All other information in the node\_announcement message can be changed.


---

