diff --git a/josh-proxy/src/bin/josh-proxy.rs b/josh-proxy/src/bin/josh-proxy.rs index 6fac078c..839fb271 100644 --- a/josh-proxy/src/bin/josh-proxy.rs +++ b/josh-proxy/src/bin/josh-proxy.rs @@ -1426,7 +1426,7 @@ fn trace_http_response_code(trace_span: Span, http_status: StatusCode) { #[tokio::main] async fn run_proxy() -> josh::JoshResult { - let addr = format!("0.0.0.0:{}", ARGS.port).parse()?; + let addr = format!("[::]:{}", ARGS.port).parse()?; let upstream = match (&ARGS.remote.http, &ARGS.remote.ssh) { (Some(http), None) => JoshProxyUpstream::Http(http.clone()), (None, Some(ssh)) => JoshProxyUpstream::Ssh(ssh.clone()),