Closed johnxiaohe closed 4 months ago
I think you have to set the --ic-network-url
properly:
docker run -p 8080:8080 omniadevs/ic-websocket-gateway --ic-network-url http://host.docker.internal:4943
This way, Docker resolves the IP to your host machine, where the dfx local replica is supposed to be running.
@johnxiaohe let me know if it works!
@johnxiaohe this issue has been closed automatically after merging an update to the docker guide in the README.
Feel free to reopen it if you still have any issues.
I think you have to set the
--ic-network-url
properly:docker run -p 8080:8080 omniadevs/ic-websocket-gateway --ic-network-url http://host.docker.internal:4943
This way, Docker resolves the IP to your host machine, where the dfx local replica is supposed to be running.
@johnxiaohe let me know if it works!
Work very health!!! Thanks!!!
thread 'main' panicked at src/ic-websocket-gateway/src/manager.rs:27:14: could not get new agent: TransportError(reqwest::Error { kind: Request, url: Url { scheme: "http", cannot_be_a_base: false, username: "", password: None, host: Some(Ipv4(127.0.0.1)), port: Some(4943), path: "/api/v2/status", query: None, fragment: None }, source: hyper::Error(Connect, ConnectError("tcp connect error", Os { code: 111, kind: ConnectionRefused, message: "Connection refused" })) })