"解决服务器监听的问题,不过没找到根本原因,还需要继续调试,暂时写死可用"
This commit is contained in:
parent
c05420a395
commit
d9368d250d
|
@ -23,7 +23,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
|
|||
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);
|
||||
transport::Server::builder()
|
||||
.add_service(LwsVfsServer::new(instance))
|
||||
|
|
Loading…
Reference in New Issue
Block a user