geth Erro starting protocol stack:Access is denied

218 阅读1分钟

geth在同一电脑建立双节点

geth在同一电脑建立双节点私有链,注意事项:

1、端口设置不一样;

2、数据文件夹不一样;

3、启动参数也要有所差异;

例如:节点一:

geth --datadir "./" init genesis.json

geth --datadir "./" --port 30303 --nodiscover console

节点二:

geth --datadir "./" init genesis.json

geth --datadir "./" --port 40404 --nodiscover --ipcdisable console

多一个参数:--ipcdisable

否则会报错:Erro starting protocol stack:Access is denied

转至

[geth在同一电脑建立双节点私有链​

www.jianshu.com![图标](p3-juejin.byteimg.com/tos-cn-i-k3…)](link.zhihu.com/?target=htt…)