[Help Me] Run Second Application When Running First Application #671

Closed
opened 2026-01-29 16:45:38 +00:00 by claunia · 3 comments
Owner

Originally created by @semihkiroglu on GitHub (Jun 16, 2021).

Originally assigned to: @GregorBiswanger on GitHub.

  • 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.
Originally created by @semihkiroglu on GitHub (Jun 16, 2021). Originally assigned to: @GregorBiswanger on GitHub. * **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](https://user-images.githubusercontent.com/10871284/122203923-3640aa80-cea7-11eb-9576-378a39668b54.png) 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.
claunia added the question label 2026-01-29 16:45:38 +00:00
Author
Owner

@semihkiroglu commented on GitHub (Jun 16, 2021):

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 commented on GitHub (Jun 16, 2021): 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?
Author
Owner

@tub5 commented on GitHub (Jul 1, 2021):

Is your app digitally signed?

@tub5 commented on GitHub (Jul 1, 2021): Is your app digitally signed?
Author
Owner

@GregorBiswanger commented on GitHub (Mar 28, 2023):

🎉🚀 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 commented on GitHub (Mar 28, 2023): 🎉🚀 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!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Electron.NET#671