cubedro / eth-net-intelligence-api

Ethereum Network Intelligence API
http://tinyurl.com/ofndjbo
GNU General Public License v3.0
324 stars 345 forks source link

How to run multiple nodes behind a single public IP address? #230

Open 5chdn opened 8 years ago

5chdn commented 8 years ago

I have 3 separate machines running an Ethereum node in my local network. I tried to add them all to the network status page, but it appears as soon as I have more than one node online, the system fails to display them correctly.

Is that by design that there should be one node per IP? Connecting only a single node works as desired.

manikata0 commented 8 years ago

I am also new to blockchain but i noticed that ( at list in multichain protocol) that each address is bound to port. If you can give your machines static ips and do port forwarding to these machines it will be fine. Lets say you assigned one of the machines with static ip 192.168.1.5 and the other one as 192.168.1.7 . Provided that you know the ports ethereum listens on each of them , then in your router configuration firward relevant port to the relevant machine. If ports are the same there must be a wsy to change it in your config hut i might be wrong as i havent work with ethereum