From 61a15be7a81ed293a401dd23c4c0ac040289f24d Mon Sep 17 00:00:00 2001 From: "A.Unger" Date: Thu, 18 Mar 2021 15:38:36 +0100 Subject: [PATCH] update default port to 9250 --- changelog/unreleased/runtime-address-configurable.md | 2 +- ocis/pkg/command/kill.go | 2 +- ocis/pkg/command/list.go | 2 +- ocis/pkg/command/run.go | 2 +- ocis/pkg/flagset/flagset.go | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/changelog/unreleased/runtime-address-configurable.md b/changelog/unreleased/runtime-address-configurable.md index 16a2906b3..8bba5a62b 100644 --- a/changelog/unreleased/runtime-address-configurable.md +++ b/changelog/unreleased/runtime-address-configurable.md @@ -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 diff --git a/ocis/pkg/command/kill.go b/ocis/pkg/command/kill.go index 3e09793ad..e96e4a057 100644 --- a/ocis/pkg/command/kill.go +++ b/ocis/pkg/command/kill.go @@ -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, }, diff --git a/ocis/pkg/command/list.go b/ocis/pkg/command/list.go index 62fd0a8e4..137f1331c 100644 --- a/ocis/pkg/command/list.go +++ b/ocis/pkg/command/list.go @@ -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, }, diff --git a/ocis/pkg/command/run.go b/ocis/pkg/command/run.go index bf2d55a29..273bb1d3e 100644 --- a/ocis/pkg/command/run.go +++ b/ocis/pkg/command/run.go @@ -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, }, diff --git a/ocis/pkg/flagset/flagset.go b/ocis/pkg/flagset/flagset.go index 77d113b70..1267d6475 100644 --- a/ocis/pkg/flagset/flagset.go +++ b/ocis/pkg/flagset/flagset.go @@ -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,