change for server
This commit is contained in:
@@ -62,7 +62,7 @@ async fn main() -> std::io::Result<()> {
|
||||
let mut server = None;
|
||||
|
||||
for port in ports {
|
||||
let addr = format!("127.0.0.1:{}", port);
|
||||
let addr = format!("0.0.0.0:{}", port);
|
||||
println!("Trying to bind to {}", addr);
|
||||
|
||||
// 为每个服务器创建克隆的连接池
|
||||
|
||||
Reference in New Issue
Block a user