Skip to content

Commit

Permalink
Use 9080 as default port (#110)
Browse files Browse the repository at this point in the history
  • Loading branch information
slinkydeveloper authored Sep 29, 2023
1 parent 2c8ed80 commit 8b99612
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -121,11 +121,11 @@ public Future<HttpServer> buildAndListen(int port) {

/**
* Build and listen on the port specified by the environment variable {@code PORT}, or
* alternatively on the default {@code 8080} port.
* alternatively on the default {@code 9080} port.
*/
public Future<HttpServer> buildAndListen() {
return buildAndListen(
Optional.ofNullable(System.getenv("PORT")).map(Integer::parseInt).orElse(8080));
Optional.ofNullable(System.getenv("PORT")).map(Integer::parseInt).orElse(9080));
}

/** Build the {@link HttpServer} serving the Restate service endpoint. */
Expand Down

0 comments on commit 8b99612

Please sign in to comment.