Skip to content

Commit 525e936

Browse files
committed
Fix Python default port assignment from 5000 to 3000
Changed the default port assignment for Python programs in auto-discovery from 5000 to 3000 to align with the standard port range (3000-3999). This ensures forensic_cpa_ai and other Python services use ports in the correct range instead of defaulting to 5000. https://claude.ai/code/session_01TxioM4AYTvC4DymoDyFZzC
1 parent 695720d commit 525e936

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

local_nexus_controller/services/auto_discovery.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def get_default_port(program_type: str, existing_ports: set[int]) -> int:
3838
"""Get a default port based on program type, avoiding conflicts."""
3939
base_ports = {
4040
"nodejs": 3000,
41-
"python": 5000,
41+
"python": 3000,
4242
"go": 8080,
4343
"rust": 8000,
4444
"java": 8080,

0 commit comments

Comments
 (0)