为什么admin.addPeer()在某些节点上工作而在其他节点上工作?

时间:2018-02-18 04:56:42

标签: ethereum web3 go-ethereum

我注意到我的AWS实例上的节点和笔记本电脑上的geth节点,我的AWS节点可以将我的笔记本电脑添加为对等设备,但我的笔记本电脑无法添加我的AWS实例。

两个节点都使用类似的geth命令行来执行以下操作:

geth --identity" node2" --rpc --rpcport" 8000" --rpccorsdomain" *" --datadir" ./" --port" 30303" --rpcapi" db,eth,net,web3" --networkid 1432 --nat" any" console --nodiscover

有人知道这种行为的原因吗?

0 个答案:

没有答案