Browse Source

localhost -> 127.0.0.1

pull/19/head
Matthew Wampler-Doty 10 years ago
parent
commit
01cb965cce
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      config/config.go

+ 2
- 2
config/config.go View File

@ -37,7 +37,7 @@ Level = "debug"
[RPC.HTTP] [RPC.HTTP]
# For the RPC API HTTP server. Port required. # For the RPC API HTTP server. Port required.
ListenAddr = "localhost:8081"
ListenAddr = "127.0.0.1:8081"
[Alert] [Alert]
# TODO: Document options # TODO: Document options
@ -55,7 +55,7 @@ func initDefaults() {
App.SetDefault("Log.Stdout.Level", "info") App.SetDefault("Log.Stdout.Level", "info")
App.SetDefault("Log.File.Dir", rootDir+"/log") App.SetDefault("Log.File.Dir", rootDir+"/log")
App.SetDefault("Log.File.Level", "debug") App.SetDefault("Log.File.Level", "debug")
App.SetDefault("RPC.HTTP.ListenAddr", "localhost:8081")
App.SetDefault("RPC.HTTP.ListenAddr", "127.0.0.1:8081")
App.SetDefault("GenesisFile", rootDir+"/genesis.json") App.SetDefault("GenesisFile", rootDir+"/genesis.json")
App.SetDefault("AddrBookFile", rootDir+"/addrbook.json") App.SetDefault("AddrBookFile", rootDir+"/addrbook.json")


Loading…
Cancel
Save