marinasundstrom / YourBrand

Prototype enterprise system for e-commerce and consulting services
97 stars 14 forks source link

Error while trying to start the application #35

Closed rwxzig closed 2 months ago

rwxzig commented 2 months ago

I seeded all the projects, except for StoreFront, and when I tried to run the app by this: dotnet run --project src/YourBrand.AppHost/YourBrand.AppHost.csproj command, I get the error below

fail: Aspire.Hosting.Dcp.dcpctrl.ServiceReconciler[0]
      could not start the proxy {"ServiceName": {"name":"portal"}, "Reconciliation": 45, "error": "could not start the proxy for the service: listen tcp [::1]:5010: bind: Only one usage of each socket address (protocol/network address/port) is normally permitted."}
fail: Aspire.Hosting.Dcp.dcpctrl.ServiceReconciler[0]
      could not start the proxy {"ServiceName": {"name":"identityManagement"}, "Reconciliation": 47, "error": "could not start the proxy for the service: listen tcp [::1]:5040: bind: Only one usage of each socket address (protocol/network address/port) is normally permitted."}
fail: Aspire.Hosting.Dcp.dcpctrl.ServiceReconciler[0]
      could not start the proxy {"ServiceName": {"name":"humanresources"}, "Reconciliation": 53, "error": "could not start the proxy for the service: listen tcp [::1]:5110: bind: Only one usage of each socket address (protocol/network address/port) is normally permitted."}
fail: Microsoft.Extensions.Hosting.Internal.Host[11]
      Hosting failed to start

The error is longer, but I think this is the relevant part. Do you have any idea on why this error is occurring?