mirror of https://github.com/dapr/docs.git
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:
parent
4f717d97a5
commit
5d33c61975
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue