Electron.NET icon indicating copy to clipboard operation
Electron.NET copied to clipboard

[Help Me] Run Second Application When Running First Application

Open semihkiroglu opened this issue 4 years ago • 2 comments

  • Electron.NET CLI & API versions: 9.31.2 & 11.5.1
  • .NET Core version: 3.1 LTS
  • Node.js version: 14.16.0
  • Target: Windows 10 x64

Hello there. When I try to run the application I compiled for the second time (second instance), I get an EADDRINUSE error. I want the second application to run and see the first application running and close by doing some operations. I've been searching for 3 days but couldn't find any results. Can you help me?

image

Steps to Reproduce:

  1. Build with command: electronize build /target win
  2. Run exe from win-unpacked folder (or ElectronNET-API-Demos). Successfully runs.
  3. Run again same exe (or ElectronNET-API-Demos) when running first instance, getting error.

semihkiroglu avatar Jun 16 '21 10:06 semihkiroglu

I have determined that the Trend Micro Apex One Security Agent is the cause. After add my app to whitelist, problem solved. But I can't ask users to do that. What is your suggested solution? Can we handle this situation as a bug and have a chance to fix it?

semihkiroglu avatar Jun 16 '21 15:06 semihkiroglu

Is your app digitally signed?

tub5 avatar Jul 01 '21 15:07 tub5

🎉🚀 New Electron.NET version 23.6.1 released 🚀🎉

With native Electron 23 and .NET 6 support. Your problem should be fixed here. If you continue to have the problem, please let us know. Please note the correct updating of your API & CLI. Info in the README. Have fun!

GregorBiswanger avatar Mar 28 '23 15:03 GregorBiswanger