aboutsummaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorTaylor Gerring <taylor.gerring@gmail.com>2015-02-05 00:57:47 +0800
committerTaylor Gerring <taylor.gerring@gmail.com>2015-02-05 00:57:47 +0800
commit2656a2d0387464d6c5039f38189649533c578708 (patch)
tree913d5bc6af3931779ee1a895a4b6d662ede342b5 /cmd
parent4dc283c0fb5d886ce8d3638c3322af7e6f2a3b2e (diff)
downloaddexon-2656a2d0387464d6c5039f38189649533c578708.tar
dexon-2656a2d0387464d6c5039f38189649533c578708.tar.gz
dexon-2656a2d0387464d6c5039f38189649533c578708.tar.bz2
dexon-2656a2d0387464d6c5039f38189649533c578708.tar.lz
dexon-2656a2d0387464d6c5039f38189649533c578708.tar.xz
dexon-2656a2d0387464d6c5039f38189649533c578708.tar.zst
dexon-2656a2d0387464d6c5039f38189649533c578708.zip
Use different default RPC port per #186
Diffstat (limited to 'cmd')
-rw-r--r--cmd/ethereum/flags.go2
-rw-r--r--cmd/mist/flags.go2
2 files changed, 2 insertions, 2 deletions
diff --git a/cmd/ethereum/flags.go b/cmd/ethereum/flags.go
index e0fbbb008..5bbcf3f36 100644
--- a/cmd/ethereum/flags.go
+++ b/cmd/ethereum/flags.go
@@ -96,7 +96,7 @@ func Init() {
flag.StringVar(&NatType, "nat", "", "NAT support (UPNP|PMP) (none)")
flag.StringVar(&PMPGateway, "pmp", "", "Gateway IP for PMP")
flag.IntVar(&MaxPeer, "maxpeer", 30, "maximum desired peers")
- flag.IntVar(&RpcPort, "rpcport", 8080, "port to start json-rpc server on")
+ flag.IntVar(&RpcPort, "rpcport", 8545, "port to start json-rpc server on")
flag.IntVar(&WsPort, "wsport", 40404, "port to start websocket rpc server on")
flag.BoolVar(&StartRpc, "rpc", false, "start rpc server")
flag.BoolVar(&StartWebSockets, "ws", false, "start websocket server")
diff --git a/cmd/mist/flags.go b/cmd/mist/flags.go
index 9dc3ae10a..9f91582f6 100644
--- a/cmd/mist/flags.go
+++ b/cmd/mist/flags.go
@@ -111,7 +111,7 @@ func Init() {
flag.StringVar(&OutboundPort, "port", "30303", "listening port")
flag.BoolVar(&UseUPnP, "upnp", true, "enable UPnP support")
flag.IntVar(&MaxPeer, "maxpeer", 30, "maximum desired peers")
- flag.IntVar(&RpcPort, "rpcport", 8080, "port to start json-rpc server on")
+ flag.IntVar(&RpcPort, "rpcport", 8545, "port to start json-rpc server on")
flag.IntVar(&WsPort, "wsport", 40404, "port to start websocket rpc server on")
flag.BoolVar(&StartRpc, "rpc", true, "start rpc server")
flag.BoolVar(&StartWebSockets, "ws", false, "start websocket server")