diff --git a/src/node/presence.rs b/src/node/presence.rs index 3e837c33b9..c2acff1fc2 100644 --- a/src/node/presence.rs +++ b/src/node/presence.rs @@ -18,7 +18,7 @@ impl Notifier { }; let net_client = directory::Client::new(config); let presence = MixNodePresence { - host: "localhost:6666".to_string(), // send dummy address as the directory server formats the real incoming IP. + host: node_config.socket_address.to_string(), // note: the directory server formats the real incoming IP itself pub_key: node_config.public_key_string(), layer: 666, last_seen: 666,