Skip to content

Commit

Permalink
update default port to 9250
Browse files Browse the repository at this point in the history
  • Loading branch information
refs committed Mar 18, 2021
1 parent 25ea463 commit 61a15be
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion changelog/unreleased/runtime-address-configurable.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Enhancement: Runtime Hostname and Port are now configurable

Without any configuration the ocis runtime will start on `localhost:6060` unless specified otherwise. Usage:
Without any configuration the ocis runtime will start on `localhost:9250` unless specified otherwise. Usage:

- `OCIS_RUNTIME_PORT=6061 bin/ocis server`
- overrides the oCIS runtime and starts on port 6061
Expand Down
2 changes: 1 addition & 1 deletion ocis/pkg/command/kill.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ func KillCommand(cfg *config.Config) *cli.Command {
},
&cli.StringFlag{
Name: "port",
Value: "6060",
Value: "9250",
EnvVars: []string{"OCIS_RUNTIME_PORT"},
Destination: &cfg.Runtime.Port,
},
Expand Down
2 changes: 1 addition & 1 deletion ocis/pkg/command/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ func ListCommand(cfg *config.Config) *cli.Command {
},
&cli.StringFlag{
Name: "port",
Value: "6060",
Value: "9250",
EnvVars: []string{"OCIS_RUNTIME_PORT"},
Destination: &cfg.Runtime.Port,
},
Expand Down
2 changes: 1 addition & 1 deletion ocis/pkg/command/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ func RunCommand(cfg *config.Config) *cli.Command {
},
&cli.StringFlag{
Name: "port",
Value: "6060",
Value: "9250",
EnvVars: []string{"OCIS_RUNTIME_PORT"},
Destination: &cfg.Runtime.Port,
},
Expand Down
2 changes: 1 addition & 1 deletion ocis/pkg/flagset/flagset.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ func RootWithConfig(cfg *config.Config) []cli.Flag {
},
&cli.StringFlag{
Name: "runtime-port",
Value: "6060",
Value: "9250",
Usage: "Configures which port the runtime starts",
EnvVars: []string{"OCIS_RUNTIME_PORT"},
Destination: &cfg.Runtime.Port,
Expand Down

0 comments on commit 61a15be

Please sign in to comment.