-
Notifications
You must be signed in to change notification settings - Fork 548
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
could not start the proxy for the service #7783
Comments
Is that port in use? |
Here is my Service port : "applicationUrl": "https://localhost:7206;http://localhost:5010", Aspire port : "applicationUrl": "https://localhost:17145;http://localhost:15184", |
if you change the 5010 port does it work? |
Unfortunately, I have tried this before, but I keep getting the same error. "could not start the proxy for the service: listen tcp 127.0.0.1:5025" |
Does this help? |
I checked the ports, but the ones I am using are not in use. |
Can you try this #7317 (comment) |
I Tried for diffrent project and ı get System.IO.IOException: 'Failed to bind to address https://127.0.0.1:7094: address already in use.' I tried #7317 (comment) |
Are you using aspire 9.1? If not, try upgrading. 9.0 has known issues whereby if you restart your project, you'll see these errors as the new instance tries to use port before the old instance releases them. |
I was using Aspire 9 and updated to 9.1, but I'm still getting the same error: |
@Aydinmfatih Can you share your project information? The csproj file of the app host and |
@Aydinmfatih, when this occurs, how many instances of dcp.exe or dcpctrl.exe are running? |
two instance running H:>tasklist | findstr /i "dcp.exe dcpctrl.exe" |
`.NET SDK: Çalışma Zamanı Ortamı: .NET iş yükleri yüklendi: [wasm-tools-net6] [wasm-tools-net7] [wasm-tools-net8] Yeni bildirimler yüklenirken loose manifests kullanılacak şekilde yapılandırıldı. Host: .NET SDKs installed: .NET runtimes installed: Other architectures found: Environment variables: global.json file: Learn more: Download .NET: here is dotnet info for AppHost |
@dbreshears putting this in 9.2 to investigate. |
Is there an existing issue for this?
Describe the bug
I am getting the error "could not start the proxy for the service".
All I did was add Aspire Orchestrator Support to my project. There is no conflict in the launchSettings.json, but I still get this error:
fail: Aspire.Hosting.Dcp.dcpctrl.ServiceReconciler[0]
could not start the proxy {"ServiceName": {"name":"servicea-http"}, "Reconciliation": 6, "error": "could not start the proxy for the service: listen tcp 127.0.0.1:5010: bind: Only one usage of each socket address (protocol/network address/port) is normally permitted."}
Expected Behavior
No response
Steps To Reproduce
No response
Exceptions (if any)
No response
.NET Version info
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: