artwook / ledger

Permissioned Ledger
MIT License
0 stars 0 forks source link

embed seed node dns #17

Closed AlexChien closed 7 years ago

AlexChien commented 7 years ago

embed seed nodes with domain names

art1.artwook.com
art2.artwook.com
art3.artwook.com

with proper ports

on each servers, they have local name configured and pointed to each others intranet address

art1
art2
art3

when starting up, they can use seed node's local address for faster connection

for example, on art1, start as

./witness_node -s art2:1776 -s art3:1776

hackfisher commented 7 years ago

Refer code of BitShares:

https://github.com/roelandp/bitshares-2/blob/bitshares/libraries/app/application.cpp#L164

clar commented 7 years ago

@AlexChien , it seems '2776' port is not open on server. I start a witness-node on my machine, but the handshake is failed. is this as expected ?

hackfisher commented 7 years ago

Maybe there is a firewall set up blocking the port?

clar commented 7 years ago

yes, it should be the reason.