Skip to content

Commit 049e63e

Browse files
committed
feat: bind to dual stack by default
1 parent cd159d0 commit 049e63e

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

Cargo.lock

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,5 +44,5 @@ open = "5"
4444
chrono = {version = "0.4", features = ["serde"]}
4545

4646
[workspace.package]
47-
version = "0.1.2"
47+
version = "0.1.3"
4848
edition = "2024"

server/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ pub async fn run_server(config: Config) -> Result<(ServerHandle, ServerAddresses
6464
webhook_timeout: Duration::from_secs(config.webhook_timeout_secs),
6565
};
6666

67-
let http_addr = format!("0.0.0.0:{}", config.http_port);
67+
let http_addr = format!("[::]:{}", config.http_port);
6868
let http_listener = tokio::net::TcpListener::bind(&http_addr).await?;
6969
let http_bound_addr = http_listener.local_addr()?;
7070

@@ -83,7 +83,7 @@ pub async fn run_server(config: Config) -> Result<(ServerHandle, ServerAddresses
8383
});
8484

8585
// Start gRPC server
86-
let grpc_addr: SocketAddr = format!("0.0.0.0:{}", config.grpc_port).parse()?;
86+
let grpc_addr: SocketAddr = format!("[::]:{}", config.grpc_port).parse()?;
8787
let relay_service = RelayServiceImpl::new(connections.clone(), jwks_cache.clone(), &config);
8888

8989
// Bind to get the actual port

0 commit comments

Comments
 (0)