Skip to content

MinIO WebUI returns ERR_CONNECTION_REFUSED #723

@axies20

Description

@axies20

Describe the bug

After starting the app with builder.AddMinioContainer("MinIO"), Aspire’s dashboard shows
two URLs for the container (api and console).
The API works, but opening the console URL (http://localhost:8965, actual port varies)
always results in ERR_CONNECTION_REFUSED.

Regression

No response

Steps to reproduce

1. Pack CommunityToolkit/Aspire from `main` and reference the nupkg locally.
2. In AppHost:

   
   var minio = builder.AddMinioContainer("MinIO")
                      .WithDataVolume("minio-data");   // no extra args
   builder.Build().Run();

Expected behavior

The WebUI URL published by Aspire should open successfully in the browser on the first try — no ERR_CONNECTION_REFUSED, blank pages, or redirects to closed ports.

Screenshots

No response

IDE and version

Rider

IDE version

2025.1

Nuget packages


Additional context

No response

Help us help you

Yes, I'd like to be assigned to work on this item

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions