Skip to content

Commit adfcdc7

Browse files
sbryngelsonclaude
andcommitted
viz: add port-in-use troubleshooting hint to SSH tunnel help
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent f56520f commit adfcdc7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

toolchain/mfc/viz/interactive.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -730,7 +730,9 @@ def _tf(arr): return arr
730730
f'\n[dim] Replace [bold]user@cluster-hostname[/bold] with whatever you normally pass to [bold]ssh[/bold][/dim]\n'
731731
f'[dim] to reach this cluster (e.g. [bold]jdoe@login.delta.ncsa.illinois.edu[/bold] or an[/dim]\n'
732732
f'[dim] alias from your [bold]~/.ssh/config[/bold]).[/dim]\n'
733-
f'[dim] Then open [bold]http://localhost:{port}[/bold] in your local browser.[/dim]'
733+
f'[dim] Then open [bold]http://localhost:{port}[/bold] in your local browser.[/dim]\n'
734+
f'[dim] If you see [bold]Address already in use[/bold], free the port with:[/dim]\n'
735+
f' [bold]lsof -ti :{port} | xargs kill[/bold]'
734736
)
735737
cons.print('[dim]\nCtrl+C to stop.[/dim]\n')
736738
app.run(debug=False, port=port, host=host)

0 commit comments

Comments
 (0)