【问题标题】:How to connect Mist to the private blockchain on remote server (Azure)?如何将 Mist 连接到远程服务器 (Azure) 上的私有区块链?
【发布时间】:2016-10-08 04:20:23
【问题描述】:

我已在本地 PC (Windows 10) 上安装了 Mist,但我不想同步主/测试网络。所以我使用了这个Ethereum + Azure 教程,现在我可以在我的私人网络上通过 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: timeout

附:雾版本 - 0.8.2

【问题讨论】:

标签: azure blockchain ethereum


【解决方案1】:

你的方法是正确的。我会说你有一个网络配置问题,阻止你的 Mist 与 geth 交谈。 我建议做以下测试,看看你是否遇到同样的问题: - 在你有 Mist 的机器上,找到 geth.exe 可执行文件 - 使用geth --testnet --rpc 运行 geth - 使用./Mist --rpc /.../Ethereum/testnet/geth.ipc./Mist --rpc http://localhost:8545 开始雾

我在 Mac 上,所以我猜你必须颠倒 / 并在这里和那里添加一些 C: 装饰。

【讨论】:

    猜你喜欢
    • 2023-04-01
    • 2018-10-24
    • 1970-01-01
    • 1970-01-01
    • 2015-06-22
    • 2017-04-02
    • 2014-07-17
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多