javascript - 无法连接到远程 geth:无效的管道地址“~/.ethereum/rinkeby/geth.ipc”
问题描述
我在 Windows 上试图通过 rinkeby 连接到 geth.ipc。我下载了geth 1.9.25-stable版本
我的第一个命令是
geth --datadir=$HOME/.rinkeby init rinkeby.json
用于 geth 初始化
然后,我使用以下命令运行 geth。
geth --networkid=4 --datadir=$HOME/.rinkeby --cache=1024 --bootnodes=enode://a24ac7c5484ef4ed0c5eb2d36620ba4e4aa13b8c84684e1b4aab0cebea2ae45cb4d375b77eab56516d34bfbd3c1a833fc51296ff084b770b94fb9028c4d25ccf@52.169.42.101:30303
为了从另一个终端使用 javascript 控制台连接到节点并继续进行其余的批处理工作,我打开了一个新终端并执行了以下命令。
geth attach ~/.rinkeby/geth.ipc
我收到了一些错误消息:
致命:无法附加到远程 geth:管道地址“~/.rinkeby/geth.ipc”无效。
我也尝试了下面的代码,但我收到了以下错误消息。
geth attach ~/.ethereum/rinkeby/geth.ipc
致命:无法连接到远程 geth:管道地址“~/.ethereum/rinkeby/geth.ipc”无效。
geth attach ipc:\\.\pipe\geth-rinkeby.ipc
致命:无法连接到远程 geth:等待管道 '\.\pipe\geth-rinkeby.ipc' 可用时超时
提前致谢!
解决方案
推荐阅读
- javascript - moment.isoWeekday 不是函数
- css - 不能将 div 排列在另一个之下
- python - 如何将时空数据重塑为 lstm 输入?
- xpages - 通过复合数据上的 getComponent 获取价值
- angular - ngStyle 函数在条件下运行
- python - 无法将 anaconda 上的 python 包更新到最新版本
- django - Django - 如何创建由外键分隔的复选框表单
- java - 字谜检查器来解决管测验
- reactjs - 使用 `react-apollo-hooks` 和 `useSubscription` 钩子
- typescript - 定义相互依赖的泛型类型`map: Map
(参数:部分 ) => T)>;`