Skip to content

Commit

Permalink
fix: bind server to 0.0.0.0 for external access (#115)
Browse files Browse the repository at this point in the history
  • Loading branch information
JackHamer09 committed Sep 14, 2023
1 parent de35b8f commit d6529ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ async fn main() -> anyhow::Result<()> {
let hardhat = HardhatNamespaceImpl::new(node.get_inner());

let threads = build_json_http(
SocketAddr::new(IpAddr::V4(Ipv4Addr::new(127, 0, 0, 1)), opt.port),
SocketAddr::new(IpAddr::V4(Ipv4Addr::new(0, 0, 0, 0)), opt.port),
node,
net,
config_api,
Expand Down

0 comments on commit d6529ab

Please sign in to comment.