github / dotnet-codespaces

108 stars 128 forks source link

Back end page not working on M1 #9

Open edwardfraser2002 opened 10 months ago

edwardfraser2002 commented 10 months ago

I have created a new code space using this template on Chrome and Safari on my M1 Mac and I have not been able to get ithe backend page to work Chrome seemed to give no reason but Safari gave me the following:

Exception has occurred: CLR/System.IO.IOException An unhandled exception of type 'System.IO.IOException' occurred in System.Private.CoreLib.dll: 'Failed to bind to address http://127.0.0.1:8080: address already in use.' Inner exceptions found, see $exception in variables window for more details. Innermost exception System.Net.Sockets.SocketException : Address already in use at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress) at System.Net.Sockets.Socket.Bind(EndPoint localEP) at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketTransportOptions.CreateDefaultBoundListenSocket(EndPoint endpoint) at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketConnectionListener.Bind()

lkhg commented 9 months ago

bcgame sk-qrcode (3)

jamesmontemagno commented 7 months ago

Can you try to change it in SampleApp/BackEnd/Properties/launshSettings.json to 8082

Then also update "WEATHER_URL" inside of SampleApp/FrontEnd/appsettings.json

valeriazagontova commented 6 months ago

/