EADDRINUSE Error on multiple startups in quick succession #965

Closed
opened 2026-01-29 16:53:00 +00:00 by claunia · 1 comment
Owner

Originally created by @Zapenator on GitHub (Jan 31, 2025).

  • ElectronNet.CLI Version: 23.6.2.0
  • ElectronNet.API Version 23.6.2
  • .NET 6
  • Target: Windows

After building my app if I run it twice in quick succession I get the error below. After closing this error popup the splash screen shows up and then never goes away unless you close all running processes in task manager.

Image

Steps to Reproduce:

  1. Build your Electron.Net app
  2. In terminal / or a .bat file start the app twice, (example .bat below)
@echo off
start "Instance 1" cmd /k ""C:\path\to\your\ElectronNetApp.exe""
start "Instance 2" cmd /k ""C:\path\to\your\ElectronNetApp.exe""
Originally created by @Zapenator on GitHub (Jan 31, 2025). * **ElectronNet.CLI Version:** 23.6.2.0 * **ElectronNet.API Version** 23.6.2 * **.NET 6** * **Target**: Windows After building my app if I run it twice in quick succession I get the error below. After closing this error popup the splash screen shows up and then never goes away unless you close all running processes in task manager. ![Image](https://github.com/user-attachments/assets/f99a157a-669c-4caf-8ef8-4f079c5fc968) Steps to Reproduce: 1. Build your Electron.Net app 2. In terminal / or a .bat file start the app twice, (example .bat below) ``` @echo off start "Instance 1" cmd /k ""C:\path\to\your\ElectronNetApp.exe"" start "Instance 2" cmd /k ""C:\path\to\your\ElectronNetApp.exe"" ```
claunia added the bug label 2026-01-29 16:53:00 +00:00
Author
Owner

@FlorianRappl commented on GitHub (Oct 31, 2025):

Outdated - use ElectronNET.Core and ElectronNET.Core.AspNet.

See Wiki / What's New.

@FlorianRappl commented on GitHub (Oct 31, 2025): Outdated - use `ElectronNET.Core` and `ElectronNET.Core.AspNet`. See [Wiki / What's New](https://github.com/ElectronNET/Electron.NET/wiki/What's-New).
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Electron.NET#965