geth在服务器里搭建的链,服务器外可以访问吗?

geth在服务器里搭建的多节点私链和poa私链,服务器外可以访问吗?比如外部钱包,如果可以,节点链接rpc和链id是在哪里产生的?谢谢!

请先 登录 后评论

最佳答案 2023-01-17 16:47

可以。链id在 genesis.json 文件配置,RPC 设置 geth 启动参数 --http--http.porthttp.addr

参考官方文档 https://geth.ethereum.org/docs/interacting-with-geth/rpc https://geth.ethereum.org/docs/fundamentals/private-network

请先 登录 后评论

其它 1 个回答

老马
请先 登录 后评论
  • 1 关注
  • 0 收藏,1156 浏览
  • 老马 提出于 2023-01-17 09:33

相似问题