Skip to content

Commit

Permalink
Merge pull request corda#68 from corda/clint-readmeportfix
Browse files Browse the repository at this point in the history
[M10 Fixes] Corrected port references in the README. Removed web ports from controller.
  • Loading branch information
Clintonio authored Apr 6, 2017
2 parents 72478c5 + 4d8110d commit db1f7bf
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,9 @@ The nodes can be found using the following port numbers, defined in the
`build.gradle`, as well as the `node.conf` file for each node found
under `kotlin/build/nodes/NodeX` or `java/build/nodes/NodeX`:

NodeA: localhost:10005
NodeB: localhost:10007
NodeC: localhost:10009
NodeA: localhost:10007
NodeB: localhost:10010
NodeC: localhost:10013

As the nodes start up, they should tell you which host and port their
embedded web server is running on. The API endpoints served are:
Expand All @@ -136,7 +136,7 @@ To run the client:
**Via IntelliJ:**

Select either the 'Run Template RPC Client - Java' or 'Run Template RPC Client - Kotlin'
run configuration which, by default, connect to NodeA (Artemis port 10004). Click the
run configuration which, by default, connect to NodeA (Artemis port 10005). Click the
Green Arrow to run the client.

**Via the command line:**
Expand Down Expand Up @@ -172,7 +172,7 @@ controller. Open each node's config file (`[nodeName]/node.conf`), and make
the following changes:

* Change the artemis address to the machine's ip address (e.g.
`artemisAddress="10.18.0.166:10006"`)
`artemisAddress="10.18.0.166:10005"`)
* Change the network map address to the ip address of the machine where the
controller node is running (e.g. `networkMapAddress="10.18.0.166:10002"`)
(please note that the controller will not have a network map address)
Expand Down
1 change: 0 additions & 1 deletion java-source/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ task deployNodes(type: net.corda.plugins.Cordform, dependsOn: ['build']) {
advertisedServices = ["corda.notary.validating"]
p2pPort 10002
rpcPort 10003
webPort 10004
cordapps = []
}
node {
Expand Down
1 change: 0 additions & 1 deletion kotlin-source/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ task deployNodes(type: net.corda.plugins.Cordform, dependsOn: ['build']) {
advertisedServices = ["corda.notary.validating"]
p2pPort 10002
rpcPort 10003
webPort 10004
cordapps = []
}
node {
Expand Down

0 comments on commit db1f7bf

Please sign in to comment.