Failed to Connect to Cinema 4D, with port: 7788
-
Hello everyone,
I've encountered an issue while using Visual Studio Code with Cinema 4D 2023 or 2024. When I click on the 'C4D X' extension in the bottom left corner of VSCode, I receive the following error: 'Failed to Connect to Cinema 4D, with port: 7788.' It appears that there is little to no information available online regarding this problem.
My primary goal is to debug Python plugins within VSCode. If anyone has encountered and successfully resolved this issue or can provide guidance, I would greatly appreciate your assistance.
Thank you in advance for your help!
-
Hi @RenatoT, did you updated the Visual Studio Code extension to it's latest version (v1.1.1?) and did you started the Code Exchanger within Cinema 4D? The Start/Stop Code Exchanger command can be found in the Script Manager palette. It should be started and then once it's started you can click on the 'C4D X' button and it will connect to it.
If it does not, then it's most likely there is something blocking in your network infrastructure. Start Code Exchanger will start a local server. The port used by default is 7788 but you can change it in the Script Manager Edit menu -> Code Exchanger Settings.
Cheers,
Maxime. -
ah! Thanks a lot!