如何从主机操作系统访问 docker 容器上托管的 Ganache?
我在Ubuntu Docker容器上使用CLI版本的Ganache,需要从主机OS访问它。 MacOS,我该如何将Ganache的RPC URL从127.0.0.1更改为0.0.0.1?
I'm using cli version of ganache on ubuntu docker container, and need to access it from my host OS, ie. macos, how can i change the RPC url of ganache, from 127.0.0.1 to 0.0.0.1?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
只需运行,ganache -h
< address>
IE。
Ganache -H 0.0.0.0
simply run, ganache -h
<address>
ie.
ganache -h 0.0.0.0