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

问题描述 投票:0回答:0

我注意到我的 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

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

ethereum web3js go-ethereum
© www.soinside.com 2019 - 2024. All rights reserved.