Error "Address already in use" when running template for Oxygen / .NET Core API

Using the latest stable build of Fire, I’m trying to get the template project working for Oxygen / .NET Core API.

I just created the project with this template and didn’t changed anything. The launch settings seem to be ok.

When running the project I get an exception at:
CreateHostBuilder(args).Build().Run();

Error:
System.Net.Sockets.SocketException
Address already in use

I don’t get this error when I create the project with an other language, like C# or Swift. The launch settings are the same everywhere (same ports). I only get this error when using Oxygen.

Curious. the port that it’s using, is it in use? What OS are you running on, Windows? and if yes, what IDE, VS or Water (and if VS, does there same issue show in Water)?

It seems to be on my side, as I was comparing further all languages now have the same error.

So for now you can ignore this.

“good”

my guess is you have a previously run server still active in the background. tru checking in TaskManager (of this is Windows) or ps. If all fails, try rebooting.

Perfect guess. That was it. My Oxygen project is running ok now.

1 Like

:raised_hands:t3: