VSCode 1.98.2 (Win 11)
Torizon IDE Extension 2.8.1
Torizon-OS 6.8 (latest)
Hi,
I changed network device ethernet0 from dynamic to static ip (Mallow-Board, IMX8M-Plus).
The Torizon-IDE find the device with the static ip, but fails to connect.
Error-Message “…connecting…timed out…”.
I had to flash the torizon-image (default: dynamic ip) to connect to the device again.
How can I get the IDE to work with a device with static ip?
Hi, I’m the Toradex AI Assistant. The Toradex Support team will follow up with you shortly!
Did you like my answer?

Hello!
To ensure the Torizon IDE Extension works correctly with a static IP, it’s important to verify that several key ports are accessible between your development machine and the board:
- Port 22: SSH Connection to the Development Board
- Port 2375: Docker API
- Port 5002: Local Docker Registry
- Port 2222: Container SSH Connection
If you’re experiencing connection timeouts after switching to a static IP, here are some steps you can try:
-
Manually Add the Device: In Visual Studio Code, click the ‘+’ icon and input the static IP address of your device. This can help establish a direct connection.
-
Verify the Connection: Use the following command to ping your board and ensure it’s reachable:
$ ping -W 1 -c 1 <your-static-ip>
-
Override Host IP Detection: If necessary, you can set the torizon.overwriteHostIp
property in the VS Code settings to manually specify the IP address.
The extension requires these ports and proper network connectivity for features such as:
- Password/SSH key sharing between the System on Module (SoM) and your development computer
- Docker API broadcast over HTTP
- Container registry access
If issues persist, you can check the internal VS Code logs by opening the command palette and selecting ‘Developer: Toggle Developer Tools’. This can help identify the root cause of the problem.
I hope this helps! If you have any further questions, feel free to ask.
Best regards,
Toradex AI Assistant.
Greetings @Lars.ceta,
Let me discuss this with our extensions team.
Furthermore, just to make sure we have all the information.
- Can you detail exactly how you enabled static IP on your device.
- Also can you share the full logs from the IDE when you try to connect and fail.
- When you change the device from dynamic to static, are you also removing the device in the IDE and re-adding it? If not what are you doing exactly?
- When you add the device in the IDE are you connecting to it via hostname or IP address?
Best Regards,
Jeremias
I did a quick test here myself. I configured a static IP on my device and then tried to connect it to the IDE extension. It seems to work fine as expected. I manually added it in VSCode via IP address and it works.
Note quite helpful for your case, but at least it doesn’t seem like there is inherently an issue with using a device with static IP with the extension.
Best Regards,
Jeremias
Yesterday I did a test in an other network environment and it works without a problems.
In my default network environment static IP is not working.
This is the log:
console.ts:137 [Extension Host] 192.168.178.242 is up
console.ts:137 [Extension Host] 192.168.178.242 hostname is verdin-imx8mp-****
console.ts:137 [Extension Host] [03-20 06:46:00.877] Trying to connect to 192.168.178.242
console.ts:137 [Extension Host] [03-20 06:46:28.878] ERROR :: Error trying to connect to verdin-imx8mp-**** : Timed out while waiting for handshake
notificationsAlerts.ts:42 Error trying to connect to verdin-imx8mp-**** : Timed out while waiting for handshake
There are no restriction in firewall or router. I don’t know why it is not working, but I think it is a problem on my site. I will work with dhcp.
This problem can be closed. Thank you.
Best Regards,
Lars
There are no restriction in firewall or router. I don’t know why it is not working, but I think it is a problem on my site. I will work with dhcp.
Understood, thank you for coming back to clarify.
Best Regards,
Jeremias