Skip to content

Commit cf31103

Browse files
committed
it runs
1 parent ef8ec7a commit cf31103

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ async fn run_server(address: &Server, all: &Vec<Server>, diagnostics: Arc<Mutex<
110110
.nest_tonic(kv_grpc);
111111

112112
let multiplexer = RestGrpcService::new(web_service, grpc_router).into_make_service();
113-
let listener = tokio::net::TcpListener::bind(format!("0.0.0.0:{}", address.port)).await.unwrap();
113+
let listener = tokio::net::TcpListener::bind(&make_address(&address)).await.unwrap();
114114

115115
info!("Started server (http, grpc) on port {}", address.port);
116116

0 commit comments

Comments
 (0)