Skip to content

Commit

Permalink
update port to match go code (#3014)
Browse files Browse the repository at this point in the history
Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>
Co-authored-by: Mark Fussell <markfussell@gmail.com>
  • Loading branch information
hhunter-ms and msfussell committed Dec 16, 2022
1 parent 4f717d9 commit 5d33c61
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 5d33c61

Please sign in to comment.