Fatal: Unable to attach to remote geth: no known transport for URL scheme "c"

Fatal: Unable to attach to remote geth: no known transport for URL scheme "c"

翻译后的意思是这样 致命:无法附加到远程geth:没有已知的URL方案传输“c”

我们只需要把原先geth attach 改为 geth attach ipc:\\.\pipe\geth.ipc 即可

C:\Users\Administrator>geth attach ipc:\\.\pipe\geth.ipc
Welcome to the Geth JavaScript console!
 
instance: Geth/v1.8.11-stable-dea1ce05/windows-amd64/go1.10.2
coinbase: 0xb6ebec2158290e4a5a461005342a2ca5696fcf69
at block: 0 (Thu, 01 Jan 1970 08:00:00 CST)
 datadir: C:\Users\Administrator\AppData\Roaming\Ethereum\testnet
 modules: admin:1.0 debug:1.0 eth:1.0 miner:1.0 net:1.0 personal:1.0 rpc:1.0 txp
ool:1.0 web3:1.0
 
>

大家注意了 (敲黑板)  网上的传统解决方案是这样  但是本仙女运行出来却是这样


C:\Users\Administrator>geth attach
Fatal: Unable to attach to remote geth: no known transport for URL scheme "c"

C:\Users\Administrator>geth attach ipc:\\.\pipe\geth.ipc
Fatal: Unable to attach to remote geth: Timed out waiting for pipe '\\.\pipe\geth.ipc' to come available

我用的是geth console

   attach                             Start an interactive JavaScript environment (connect to node)
   console                            Start an interactive JavaScript environmen

然后是这样

instance: Geth/v1.9.10-stable-58cf5686/windows-amd64/go1.13.6
at block: 0 (Thu, 01 Jan 1970 08:00:00 CST)
 datadir: C:\Users\Administrator\AppData\Local\Ethereum
 modules: admin:1.0 debug:1.0 eth:1.0 ethash:1.0 miner:1.0 net:1.0 personal:1.0 rpc:1.0 txpool:1.0 web3:1.0

 

 

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值