Greetings @jeatontenney,
The exact answer here depends a little. Different projects/templates in our IDE extension use different port numbers. The most straightforward way to get the ports relevant to your use-case would be to create the project you want, then look at the project’s settings.json
file.
For example if I create a project using the “Python 3 Console” template, then the default setting.json
file would look something like this:
{
"torizon_psswd": "",
"torizon_login": "",
"torizon_ip": "",
"torizon_ssh_port": "",
"host_ip": "",
"torizon_workspace": "${workspaceFolder}",
"torizon_debug_port": "6512",
"torizon_debug_ssh_port": "6502",
"torizon_debug_port2": "",
"torizon_debug_port3": "",
"torizon_gpu": "",
"torizon_arch": "",
"wait_sync": "1",
"torizon_run_as": "torizon",
"torizon_app_root": "/home/torizon/app",
"tcb.packageName": "test",
"tcb.version": "3.8.1",
"torizon.gpuPrefixRC": false
}
So for this project you can see it’s going to use port 6512 for the debugger tool. Also it will use port 6502 for SSH purposes. Now you can modify the ports numbers in settings.json
if you want, these numbers are just the defaults.
One final thing that is common for all projects. The toradex device will try to access port 5002 on your development PC in order to fetch container images from your machine to the board. You will probably also want to take this into account. Port 2375 is also used for Docker API purposes.
There’s also this file from the templates repository: vscode-torizon-templates/templates.json at dev · toradex/vscode-torizon-templates · GitHub
This also lists on a per-template basis what ports are going to be used by default (excluding 2375 and 5002).
I believe that’s all/most of the ports you would need to care about.
Best Regards,
Jeremias