首页 > 解决方案 > Ethereum Node on Azure Virtual Machine (windows) remote access

问题描述

I've a Windows Server VM on Azure where geth is running quite good (no mining, just node).

Now, the "start command" is:

geth --rpcapi "eth,web3,db,net,personal,admin" --rpcaddr "10.0.0.4" --port "30303" --rpccorsdomain "*" --rpcport "8545" --rpc --ws --wsaddr "10.0.0.4" --nat "any"

From the Virtual Machine itself, I can go on the browser and write

 http://10.0.0.4:8545 

And everything is working. From "outside" I try to access to

http://virtualmachineip:8545

And I get a Timeout, event if the firewall rule I configured is TOTALLY permissive like:

enter image description here

What could be the problem?

Thanks

标签: azurefirewallgo-ethereum

解决方案


确保没有防火墙来阻止访问流量。

geth然后,--rpcaddr "0.0.0.0"当您想从外部访问时,您可以尝试允许所有地址。

此外,通过从您访问节点的主机运行 telnet 命令检查网络连接是否正常:

telnet virtualmachineip 8545

如需更多参考,请参阅此案例连接的常见问题。


推荐阅读