Modify default rpcport, wsport

This commit is contained in:
Julian Yap 2016-11-18 23:46:24 -10:00
parent 1b1e2397c3
commit 3d2051fa4e
8 changed files with 11 additions and 11 deletions

View file

@ -8,7 +8,7 @@ RUN \
apk del git go make gcc musl-dev && \
rm -rf /go-ethereum && rm -rf /var/cache/apk/*
EXPOSE 8545
EXPOSE 8588
EXPOSE 30303
ENTRYPOINT ["/geth"]

View file

@ -108,7 +108,7 @@ One of the quickest ways to get Ethereum up and running on your machine is by us
```
docker run -d --name ethereum-node -v /Users/alice/ethereum:/root \
-p 8545:8545 -p 30303:30303 \
-p 8588:8588 -p 30303:30303 \
ethereum/client-go --fast --cache=512
```
@ -130,12 +130,12 @@ HTTP based JSON-RPC API options:
* `--rpc` Enable the HTTP-RPC server
* `--rpcaddr` HTTP-RPC server listening interface (default: "localhost")
* `--rpcport` HTTP-RPC server listening port (default: 8545)
* `--rpcport` HTTP-RPC server listening port (default: 8588)
* `--rpcapi` API's offered over the HTTP-RPC interface (default: "eth,net,web3")
* `--rpccorsdomain` Comma separated list of domains from which to accept cross origin requests (browser enforced)
* `--ws` Enable the WS-RPC server
* `--wsaddr` WS-RPC server listening interface (default: "localhost")
* `--wsport` WS-RPC server listening port (default: 8546)
* `--wsport` WS-RPC server listening port (default: 8589)
* `--wsapi` API's offered over the WS-RPC interface (default: "eth,net,web3")
* `--wsorigins` Origins from which to accept websockets requests
* `--ipcdisable` Disable the IPC-RPC server

View file

@ -8,7 +8,7 @@ RUN \
apk del go git make gcc musl-dev && \
rm -rf /go-ethereum && rm -rf /var/cache/apk/*
EXPOSE 8545
EXPOSE 8588
EXPOSE 30303
ENTRYPOINT ["/geth"]

View file

@ -11,7 +11,7 @@ RUN apt-get update && \
apt-get update && \
apt-get install -q -y geth
EXPOSE 8545
EXPOSE 8588
EXPOSE 30303
ENTRYPOINT ["/usr/bin/geth"]

View file

@ -8,7 +8,7 @@ RUN \
apk del go git make gcc musl-dev && \
rm -rf /go-ethereum && rm -rf /var/cache/apk/*
EXPOSE 8545
EXPOSE 8588
EXPOSE 30303
ENTRYPOINT ["/geth"]

View file

@ -11,7 +11,7 @@ RUN apt-get update && \
apt-get update && \
apt-get install -q -y geth
EXPOSE 8545
EXPOSE 8588
EXPOSE 30303
ENTRYPOINT ["/usr/bin/geth"]

View file

@ -4235,7 +4235,7 @@ if (typeof Meteor !== 'undefined' && Meteor.isServer) { // jshint ignore: line
* HttpProvider should be used to send rpc calls over http
*/
var HttpProvider = function (host) {
this.host = host || 'http://localhost:8545';
this.host = host || 'http://localhost:8588';
};
/**

View file

@ -26,9 +26,9 @@ import (
const (
DefaultIPCSocket = "geth.ipc" // Default (relative) name of the IPC RPC socket
DefaultHTTPHost = "localhost" // Default host interface for the HTTP RPC server
DefaultHTTPPort = 8545 // Default TCP port for the HTTP RPC server
DefaultHTTPPort = 8588 // Default TCP port for the HTTP RPC server
DefaultWSHost = "localhost" // Default host interface for the websocket RPC server
DefaultWSPort = 8546 // Default TCP port for the websocket RPC server
DefaultWSPort = 8589 // Default TCP port for the websocket RPC server
)
// DefaultDataDir is the default data directory to use for the databases and other