Failed to bind to address http://127.0.0.1:5000: address already in use #858

Open
opened 2026-01-29 16:50:27 +00:00 by claunia · 0 comments
Owner

Originally created by @ZedZipDev on GitHub (Mar 30, 2023).

Originally assigned to: @GregorBiswanger on GitHub.

23.6.1. Thank you for the version!

I have a small NET 6 client app which connects to a NET Web service on other machine.
It works in Windows, ok.
I have build in Windows for Linux:

electronize build /target linux
ok, then copied bin\Desktop folder to Ubuntu.
In Ubuntu go to internal folder and run
~/Moomoo/Desktop/linux-unpacked/resources/bin$ ./MyClient

Finally received:
Unhandled exception. System.IO.IOException: Failed to bind to address http://127.0.0.1:5000: address already in use.
---> Microsoft.AspNetCore.Connections.AddressInUseException: Address already in use

After a search I can say : I do not use this address and port. Also, why it busy - I have no clue.
What is ti and how to fix it?

Originally created by @ZedZipDev on GitHub (Mar 30, 2023). Originally assigned to: @GregorBiswanger on GitHub. 23.6.1. Thank you for the version! I have a small NET 6 client app which connects to a NET Web service on other machine. It works in Windows, ok. I have build in Windows for Linux: > electronize build /target linux ok, then copied bin\Desktop folder to Ubuntu. In Ubuntu go to internal folder and run ~/Moomoo/Desktop/linux-unpacked/resources/bin$ ./MyClient Finally received: Unhandled exception. System.IO.IOException: Failed to bind to address http://127.0.0.1:5000: address already in use. ---> Microsoft.AspNetCore.Connections.AddressInUseException: Address already in use After a search I can say : I do not use this address and port. Also, why it busy - I have no clue. What is ti and how to fix it?
claunia added the question label 2026-01-29 16:50:27 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/Electron.NET#858