diff --git a/daprdocs/content/en/dotnet-sdk-docs/dotnet-development/dotnet-development-dapr-cli.md b/daprdocs/content/en/dotnet-sdk-docs/dotnet-development/dotnet-development-dapr-cli.md index 68f4c415..c67b8b05 100644 --- a/daprdocs/content/en/dotnet-sdk-docs/dotnet-development/dotnet-development-dapr-cli.md +++ b/daprdocs/content/en/dotnet-sdk-docs/dotnet-development/dotnet-development-dapr-cli.md @@ -40,7 +40,9 @@ dapr run --app-id --app-port --components-path **Explanation:** this command will use `dapr run` to launch each service and its sidecar. The first half of the command (before `--`) passes required configuration to the Dapr CLI. The second half of the command (after `--`) passes required configuration to the `dotnet run` command. -> 💡 since you need to configure a unique port for each service, you can use this command to pass that port value to **both** Dapr and the service. `--urls http://localhost:` will configure ASP.NET Core to listen for traffic on the provided port. Using configuration at the commandline is a more flexible approach than hardcoding a listening port elsewhere. +{{% alert title="💡 Ports" color="primary" %}} +Since you need to configure a unique port for each service, you can use this command to pass that port value to **both** Dapr and the service. `--urls http://localhost:` will configure ASP.NET Core to listen for traffic on the provided port. Using configuration at the commandline is a more flexible approach than hardcoding a listening port elsewhere. +{{% /alert %}} If any of your services do not accept HTTP traffic, then modify the command above by removing the `--app-port` and `--urls` arguments.