Skip to content

Commit

Permalink
fix: update default api-addr (ethersphere#4733)
Browse files Browse the repository at this point in the history
  • Loading branch information
acha-bill authored Aug 1, 2024
1 parent 7e12c76 commit 7f9207c
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion cmd/bee/cmd/cmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ func (c *command) setAllFlags(cmd *cobra.Command) {
cmd.Flags().Bool(optionNameDBDisableSeeksCompaction, true, "disables db compactions triggered by seeks")
cmd.Flags().String(optionNamePassword, "", "password for decrypting keys")
cmd.Flags().String(optionNamePasswordFile, "", "path to a file that contains password for decrypting keys")
cmd.Flags().String(optionNameAPIAddr, ":1633", "HTTP API listen address")
cmd.Flags().String(optionNameAPIAddr, "127.0.0.1:1633", "HTTP API listen address")
cmd.Flags().String(optionNameP2PAddr, ":1634", "P2P listen address")
cmd.Flags().String(optionNameNATAddr, "", "NAT exposed address")
cmd.Flags().Bool(optionNameP2PWSEnable, false, "enable P2P WebSocket transport")
Expand Down
2 changes: 1 addition & 1 deletion cmd/bee/cmd/start_dev.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ func (c *command) initStartDevCmd() (err error) {
},
}

cmd.Flags().String(optionNameAPIAddr, ":1633", "HTTP API listen address")
cmd.Flags().String(optionNameAPIAddr, "127.0.0.1:1633", "HTTP API listen address")
cmd.Flags().String(optionNameVerbosity, "info", "log verbosity level 0=silent, 1=error, 2=warn, 3=info, 4=debug, 5=trace")
cmd.Flags().Uint64(optionNameDevReserveCapacity, 4194304, "cache reserve capacity")
cmd.Flags().StringSlice(optionCORSAllowedOrigins, []string{}, "origins with CORS headers enabled")
Expand Down
4 changes: 2 additions & 2 deletions packaging/bee.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## Bee configuration - https://docs.ethswarm.org/docs/working-with-bee/configuration

## HTTP API listen address (default ":1633")
# api-addr: :1633
## HTTP API listen address (default "127.0.0.1:1633")
# api-addr: 127.0.0.1:1633
## chain block time (default 15)
# block-time: 15
## initial nodes to connect to (default [/dnsaddr/mainnet.ethswarm.org])
Expand Down
4 changes: 2 additions & 2 deletions packaging/docker/env
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

### BEE

## HTTP API listen address (default :1633)
# BEE_API_ADDR=:1633
## HTTP API listen address (default 127.0.0.1:1633)
# BEE_API_ADDR=127.0.0.1:1633
## chain block time (default 15)
# BEE_BLOCK_TIME=15
## initial nodes to connect to (default [/dnsaddr/testnet.ethswarm.org])
Expand Down
4 changes: 2 additions & 2 deletions packaging/homebrew-amd64/bee.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## Bee configuration - https://docs.ethswarm.org/docs/working-with-bee/configuration

## HTTP API listen address (default ":1633")
# api-addr: :1633
## HTTP API listen address (default "127.0.0.1:1633")
# api-addr: 127.0.0.1:1633
## chain block time (default 15)
# block-time: 15
## initial nodes to connect to (default [/dnsaddr/mainnet.ethswarm.org])
Expand Down
4 changes: 2 additions & 2 deletions packaging/homebrew-arm64/bee.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## Bee configuration - https://docs.ethswarm.org/docs/working-with-bee/configuration

## HTTP API listen address (default ":1633")
# api-addr: :1633
## HTTP API listen address (default "127.0.0.1:1633")
# api-addr: 127.0.0.1:1633
## chain block time (default 15)
# block-time: 15
## initial nodes to connect to (default [/dnsaddr/mainnet.ethswarm.org])
Expand Down
4 changes: 2 additions & 2 deletions packaging/scoop/bee.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
## Bee configuration - https://docs.ethswarm.org/docs/working-with-bee/configuration

## HTTP API listen address (default ":1633")
# api-addr: :1633
## HTTP API listen address (default "127.0.0.1:1633")
# api-addr: 127.0.0.1:1633
## chain block time (default 15)
# block-time: 15
## initial nodes to connect to (default [/dnsaddr/mainnet.ethswarm.org])
Expand Down

0 comments on commit 7f9207c

Please sign in to comment.