Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion samples/grpc-client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@ $ ./mvnw spring-boot:run
message: "Hello ==> Alien"
```

The server has to be running on port 9090. You can use the `grpc-server` sample for that.
You will need to set the property `launched.grpc.port` to the port the server is running on.
If the server is running on port 9090, the property can be set using an environment variable.
For example: `export LAUNCHED_GRPC_PORT=9090`.
The `grpc-server` sample can be used for the server.

You can also build and run the application as a native image using GraalVM, in the normal way for a Spring Boot application. E.g:

Expand Down
Loading