Skip to content

Commit

Permalink
Merge pull request #127 from njgheorghita/docker-localhost
Browse files Browse the repository at this point in the history
Update localhost address for use in docker container
  • Loading branch information
mrferris authored Oct 8, 2021
2 parents ee396b7 + e460d73 commit ededc43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trin-core/src/jsonrpc/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ fn launch_http_client(
trin_config: TrinConfig,
portal_tx: UnboundedSender<PortalJsonRpcRequest>,
) {
let uri = format!("127.0.0.1:{}", trin_config.web3_http_port);
let uri = format!("0.0.0.0:{}", trin_config.web3_http_port);
let listener = TcpListener::bind(uri).unwrap();
for stream in listener.incoming() {
match stream {
Expand Down

0 comments on commit ededc43

Please # to comment.