Written by

Former Cache DBA and Mums Developer. Nowadays IT Governance Advisor at TJDFT
Question Tulio Dantas · Feb 1

Connecting IRIS and VS Code on Windows 11 PRO

Hello everyone,

I'm trying to get back into shape with IRIS. My current goal is to practice with ObjectScript and VS Code. I installed both on my Mac, and everything worked like a charm—perhaps that's why I'm still a big fan of Unix.

For the past week, however, I've been trying to set up IRIS and VS Code on a Lenovo Legion with a Ryzen 7 processor running Windows 11 Pro, but without success. While IRIS itself is running perfectly, I'm unable to connect to it from VS Code to store ObjectScript routines. The closest I've gotten, after multiple attempts at modifying the settings.json file, was by using the same configuration that worked on my Mac.

I understand that storing passwords in a plain file is not best practice, but this setup is strictly for internal use to help me get up to speed.

Apologies if I'm overlooking any key details for a proper analysis—I'm really rusty. Below, you'll find the latest settings.json file I used, along with a screenshot.

Thanks in advance for any help  

Product version: IRIS 2024.3

Comments

Enrico Parisi · Feb 2

I think/guess you are using the wrong port number in vs code.

Vs code uses the web server port to connect to IRIS. What port do you use to connect to the IRIS Management Portal? Likely you are using port 80 and/or 443, the same port should be used in vs code.

0
Tulio Dantas  Feb 2 to Enrico Parisi

Dear Enrico,
It worked! Thank you very much for your attention!

0