我已经在我的本地PC (Windows 10)上安装了Mist,但是我不想同步Main/Test网络。所以我已经使用了这个以太+天青教程,现在我可以通过SSH在我的专用网络上工作了。
geth --dev console不仅如此,我知道使用特殊标志在定制的区块链上运行Mist是可能的
mist.exe --rpc http://YOUR_IP:PORT因此,根据geth --help的说法,我在Azure的虚拟机上运行geth --dev --rpc console,然后运行mist.exe --rpc http://VM_IP:8545,出现了一个错误:
[2016-09-24 18:01:21.928] [INFO] Sockets/node-ipc - Connect to {"hostPort":"http://VM_IP:8545"}
[2016-09-24 18:01:24.968] [ERROR] Sockets/node-ipc - Connection failed (3000ms elapsed)
[2016-09-24 18:01:24.971] [WARN] EthereumNode - Failed to connect to node. Maybe it's not running so let's start our own...
[2016-09-24 18:01:24.979] [INFO] EthereumNode - Node type: geth
[2016-09-24 18:01:24.982] [INFO] EthereumNode - Network: test
[2016-09-24 18:01:24.983] [INFO] EthereumNode - Start node: geth test
[2016-09-24 18:01:32.284] [INFO] EthereumNode - 3000ms elapsed, assuming node started up successfully
[2016-09-24 18:01:32.286] [INFO] EthereumNode - Started node successfully: geth test
[2016-09-24 18:01:32.327] [INFO] Sockets/node-ipc - Connect to {"hostPort":"http://VM_IP:8545"}
[2016-09-24 18:02:02.332] [ERROR] Sockets/node-ipc - Connection failed (30000ms elapsed)
[2016-09-24 18:02:02.333] [ERROR] EthereumNode - Failed to connect to node Error: Unable to connect to socket: timeoutP.S.薄雾版本- 0.8.2
发布于 2016-09-25 16:38:54
嗯,我在回答我自己的问题,这里有一个解决办法:
1)在Azure (教程)中添加端点
在这种情况下,您需要将端口8545添加到Inbound security group。不要忘记添加端口22,否则您不能通过SSH连接。
2)连接到VM并运行geth --dev --rpc --rpcaddr "0.0.0.0"。最后一个标志意味着您的RPC将接受来自任何IP的请求。
3)现在你可以用RPC的旗子运行Ethereum钱包了-
mist.exe --rpc http://YOUR_VM_IP:8545(就是这样:)
https://ethereum.stackexchange.com/questions/8827
复制相似问题