update port to match go code (#3014)

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>
Co-authored-by: Mark Fussell <markfussell@gmail.com>
This commit is contained in:
Hannah Hunter 2022-12-15 23:33:26 -06:00 committed by GitHub
parent 4f717d97a5
commit 5d33c61975
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -214,17 +214,17 @@ func main() {
}
```
This creates a gRPC server for your app on port 4000.
This creates a gRPC server for your app on port 50001.
4. Run your app
To run locally, use the Dapr CLI:
```
dapr run --app-id goapp --app-port 4000 --app-protocol grpc go run main.go
dapr run --app-id goapp --app-port 50001 --app-protocol grpc go run main.go
```
On Kubernetes, set the required `dapr.io/app-protocol: "grpc"` and `dapr.io/app-port: "4000` annotations in your pod spec template as mentioned above.
On Kubernetes, set the required `dapr.io/app-protocol: "grpc"` and `dapr.io/app-port: "50001` annotations in your pod spec template as mentioned above.
## Other languages