Unable to bind to http://localhost:5000 on the IPv6 loopback interface: ‘Cannot assign requested address’
To workaround the issue, add the code ENV ASPNETCORE_URLS=http://+:80 below the other ENV declarations at the top of the Dockerfile.develop file Dockerfile.develop after: FROM mcr.microsoft.com/dotnet/core/sdk:3.1 ARG BUILD_CONFIGURATION=Debug ENV ASPNETCORE_ENVIRONMENT=Development ENV DOTNET_USE_POLLING_FILE_WATCHER=true ENV ASPNETCORE_URLS=http://+:80 EXPOSE 80 Explanation Server URLs is one of the ASP.NET Core Web Host configuration values. It uses the environment variable ASPNETCORE_URLS and … Read more