mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-06-23 14:51:34 +00:00
fix(rendezvous): update port in server example to match clients
Pull-Request: #3617.
This commit is contained in:
@ -72,7 +72,7 @@ async fn main() {
|
||||
|
||||
log::info!("Local peer id: {}", swarm.local_peer_id());
|
||||
|
||||
let _ = swarm.listen_on("/ip4/0.0.0.0/tcp/0".parse().unwrap());
|
||||
let _ = swarm.listen_on("/ip4/0.0.0.0/tcp/62649".parse().unwrap());
|
||||
|
||||
while let Some(event) = swarm.next().await {
|
||||
match event {
|
||||
|
Reference in New Issue
Block a user