Open Closed

Unable to start kestrel error when running abp code in container #4443


User avatar
0
Repunjay created
  • ABP Framework version: v4.3
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • We are trying to run ABP code inside container using ECS Fargate with port number 8000. But the container is not able to start and throwing errors - Failed to bind to http://[::]:80 and "Unable to start Kestrel". Wanted to confirm -
    1. Does the code requires port 80 to run inside container?
    1. What is cause of container failing? refer attached screenshot for error details

Please assist.

  • Steps to reproduce the issue:"
Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

1 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    This seems to be a problem with ECS Fargate, I don't know much about it. You can change the default port of the app.

    https://andrewlock.net/5-ways-to-set-the-urls-for-an-aspnetcore-app/

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.8.0-preview. Updated on September 16, 2026, 14:50
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.