Skip to content

Commit 15dc354

Browse files
committed
feat: use ipv6
1 parent 09ab6cc commit 15dc354

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/shippingservice/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
2929

3030
info!("OTel pipeline created");
3131
let port = env::var("SHIPPING_SERVICE_PORT").expect("$SHIPPING_SERVICE_PORT is not set");
32-
let addr = format!("0.0.0.0:{}", port).parse()?;
32+
let addr = format!("[::]:{}", port).parse()?;
3333
info!("listening on {}", addr);
3434
let shipper = ShippingServer::default();
3535

0 commit comments

Comments
 (0)