2016-09-24 70 views
1

我在本地PC(Windows 10)上安装了Mist,但我不想同步主/测试网络。所以我使用了这个Ethereum + Azure教程,现在我可以在我的专用网络上通过SSH工作。比如何将Mist连接到远程服务器上的私有区块链(Azure)?

geth --dev console 

更多,我知道这是可能的自定义blockchain使用特殊标志

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 

PS雾版 - 0.8.2

+0

问题已移至http://ethereum.stackexchange.com/questions/8827/how-to-connect-mist-to-the-private-blockchain-on-remote-server-azure –

回答

1

你的方法是正确的。我会说,你有一个网络配置问题,防止你的雾与geth交谈​​。 我建议做下面的测试,看看你是否遇到同样的问题: - 那就是你有雾的机器上,找到geth.exe可执行 - 运行GETH与geth --testnet --rpc - 与​​或./Mist --rpc http://localhost:8545

启动雾

我在Mac上,所以我想你将不得不扭转/并在这里和那里添加一些C:装饰品。