# Private network - node accessible from another VM within network or remotely?

**URL:** https://forum.algorand.co/t/private-network-node-accessible-from-another-vm-within-network-or-remotely/6005
**Category:** General
**Created:** [February 11, 2022, 1:24pm UTC](https://forum.algorand.co/t/private-network-node-accessible-from-another-vm-within-network-or-remotely/6005 "2022-02-11T13:24:12Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![jurgiss](https://avatars.discourse-cdn.com/v4/letter/j/e56c9b/32.png) [@jurgiss](https://forum.algorand.co/u/jurgiss)
#### Post date: [February 11, 2022, 1:24pm UTC](https://forum.algorand.co/t/private-network-node-accessible-from-another-vm-within-network-or-remotely/6005/1 "2022-02-11T13:24:12Z")

</div>

Hello Algorand community,

I was wondering whether it is possible to create a private network (I previously used this tutorial: [Create A Private Network | Algorand Developer Portal](https://developer.algorand.org/tutorials/create-private-network/)), which would use a public IP instead of localhost that would be accessible from another VM on my network or remotely? Trying to change the EndpointAddress in config.json (tried both the public IP and 0.0.0.0) does not work and algod simply stops using IPv4.

If this is not possible, how can I implement a remote node without using mainnet (I’m testing)?

Thanks a lot in advance!

---

<div class="post-metadata">

### Author: ![JasonW](https://avatars.discourse-cdn.com/v4/letter/j/e47c2d/32.png) [@JasonW](https://forum.algorand.co/u/JasonW)
#### Post date: [February 11, 2022, 2:20pm UTC](https://forum.algorand.co/t/private-network-node-accessible-from-another-vm-within-network-or-remotely/6005/2 "2022-02-11T14:20:09Z")

</div>

If you just want to setup a testing node, just use sandbox, which can connect to testnet or mainnet. ie ./sandbox up mainnet.

> **[GitHub - algorand/sandbox: Algorand node sandbox](https://github.com/algorand/sandbox)**
>
> Algorand node sandbox. Contribute to algorand/sandbox development by creating an account on GitHub.

get the nodes IP and connect to that IP using port 4001 with algod.

---

<div class="post-metadata">

### Author: ![tsachi](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.algorand.co/tsachi/32/29_2.png) [@tsachi](https://forum.algorand.co/u/tsachi)
#### Post date: [February 11, 2022, 2:22pm UTC](https://forum.algorand.co/t/private-network-node-accessible-from-another-vm-within-network-or-remotely/6005/3 "2022-02-11T14:22:27Z")

</div>

Changing the `EndpointAddress` should make your node listen on the provided address.  
Please make sure to restart the node after making changes to the config.json file.

---

<div class="post-metadata">

### Author: ![jurgiss](https://avatars.discourse-cdn.com/v4/letter/j/e56c9b/32.png) [@jurgiss](https://forum.algorand.co/u/jurgiss)
#### Post date: [February 14, 2022, 9:36am UTC](https://forum.algorand.co/t/private-network-node-accessible-from-another-vm-within-network-or-remotely/6005/4 "2022-02-14T09:36:28Z")

</div>

Hi @tsachi - thanks for your answer! I tried EndpointAddress before but probably haven’t restarted the network properly. It functioned by setting the address to 0.0.0.0:0 and restarting. Thank you!
