"解决服务器监听的问题,不过没找到根本原因,还需要继续调试,暂时写死可用"

This commit is contained in:
Ekko.bao 2024-07-24 13:21:40 +08:00
parent c05420a395
commit d9368d250d

View File

@ -23,7 +23,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
return Err(e); return Err(e);
} }
}; };
let addr = format!("[::1]:{}", instance.config.get_port()); let addr = format!("192.168.0.110:{}", instance.config.get_port());
println!("Listening on {}", addr); println!("Listening on {}", addr);
transport::Server::builder() transport::Server::builder()
.add_service(LwsVfsServer::new(instance)) .add_service(LwsVfsServer::new(instance))