您好,Tiny 熊,有个Remix链接私有链的问题想问问您

我用阿里云搭建了一个私链,那么我的Remix的Web3 Provider Endpoint的地址和端口应该填什么呢?Remix的默认的http://127.0.0.1:8545是连接不上的。

此外,我启动私链的命令如下: geth --rpc --rpcport 9545 --nodiscover --datadir "/privatechain/nodedata2" --port 30306 --rpcapi "db,eth,net,web3" --rpccorsdomain "*" --networkid 1001 --ipcdisable console

但是我在Web3 Provider Endpoint中填入: http://阿里云公网IP:9545 不能连接。

所有向请教您,是否知道怎么连接。

请先 登录 后评论

2 个回答

Tiny熊 - 布道者
  擅长:智能合约,以太坊
请先 登录 后评论
aerialace
请先 登录 后评论
  • 2 关注
  • 0 收藏,2370 浏览
  • 米特尼克 提出于 2021-03-27 22:29

相似问题