File tree Expand file tree Collapse file tree
development/qnet-integration/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -286,13 +286,20 @@ impl SimplifiedP2P {
286286 Err ( _) => "unknown" . to_string ( ) ,
287287 } ;
288288
289+ println ! ( "[P2P] 🔍 DEBUG: Our external IP: {}" , our_external_ip) ;
290+ println ! ( "[P2P] 🔍 DEBUG: Known node IPs: {:?}" , known_node_ips) ;
291+
289292 // Search on known server IPs with proper regional ports
290293 for ip in known_node_ips {
294+ println ! ( "[P2P] 🔍 DEBUG: Processing IP: {}" , ip) ;
295+
291296 // CRITICAL: Skip our own IP to prevent self-connection
292297 if ip == our_external_ip {
293298 println ! ( "[P2P] 🚫 Skipping self-connection to own IP: {}" , ip) ;
294299 continue ;
295300 }
301+
302+ println ! ( "[P2P] 🌐 Attempting to connect to peer: {}" , ip) ;
296303 // Determine correct regional ports for this IP
297304 let target_ports = if let Some ( ( _, region_name) ) = GENESIS_BOOTSTRAP_NODES . iter ( ) . find ( |( node_ip, _) | * node_ip == ip) {
298305 match * region_name {
You can’t perform that action at this time.
0 commit comments