Update port numbers in explorer docs

This commit is contained in:
Ross Nicoll 2017-03-20 16:25:45 +00:00 committed by Mike Hearn
parent 7e0e7bc645
commit 4f0e8b73bb
3 changed files with 17 additions and 15 deletions

View File

@ -63,15 +63,15 @@ The Demo Nodes can be started in one of two modes:
.. note:: 5 Corda nodes will be created on the following port on localhost by default. .. note:: 5 Corda nodes will be created on the following port on localhost by default.
* Notary -> 20001 * Notary -> 20003 (Does not accept logins)
* Alice -> 20003 * Alice -> 20006
* Bob -> 20005 * Bob -> 20009
* UK Bank Plc -> 20008 (*Issuer node*) * UK Bank Plc -> 20012 (*Issuer node*)
* USA Bank Corp -> 20009 (*Issuer node*) * USA Bank Corp -> 20015 (*Issuer node*)
Explorer login credentials to the Issuer nodes are defaulted to ``manager`` and ``test``. Explorer login credentials to the Issuer nodes are defaulted to ``manager`` and ``test``.
Explorer login credentials to the Participants nodes are defaulted to ``user1`` and ``test``. Explorer login credentials to the Participants nodes are defaulted to ``user1`` and ``test``.
Please note you are not allowed to connect to the notary. Please note you are not allowed to login to the notary.
.. note:: Alternatively, you may start the demo nodes from within IntelliJ using either of the run configurations .. note:: Alternatively, you may start the demo nodes from within IntelliJ using either of the run configurations
``Explorer - demo nodes`` or ``Explorer - demo nodes (simulation)`` ``Explorer - demo nodes`` or ``Explorer - demo nodes (simulation)``

View File

@ -34,14 +34,15 @@ The Participant nodes are only able to spend cash (eg. move cash).
**These Corda nodes will be created on the following port on localhost.** **These Corda nodes will be created on the following port on localhost.**
* Notary -> 20001 * Notary -> 20003 (Does not accept logins)
* Alice -> 20003 * Alice -> 20006
* Bob -> 20005 * Bob -> 20009
* UK Bank Plc -> 20008 (*Issuer node*) * UK Bank Plc -> 20012 (*Issuer node*)
* USA Bank Corp -> 20009 (*Issuer node*) * USA Bank Corp -> 20015 (*Issuer node*)
Explorer login credentials to the Issuer nodes are 'manager'/'test'. Explorer login credentials to the Issuer nodes are defaulted to ``manager`` and ``test``.
Explorer login credentials to the Participants nodes are 'user1'/'test'. Explorer login credentials to the Participants nodes are defaulted to ``user1`` and ``test``.
Please note you are not allowed to login to the notary.
## TODOs: ## TODOs:
- Shows more useful information in the dashboard. - Shows more useful information in the dashboard.

View File

@ -128,7 +128,8 @@ class Main : App(MainView::class) {
} }
/** /**
* This main method will starts 5 nodes (Notary, Alice, Bob, UK Bank and USA Bank) locally for UI testing, they will be on localhost:20002, 20004, 20006, 20008, 20010 respectively. * This main method will starts 5 nodes (Notary, Alice, Bob, UK Bank and USA Bank) locally for UI testing,
* they will be on localhost ports 20003, 20006, 20009, 20012 and 20015 respectively.
*/ */
fun main(args: Array<String>) { fun main(args: Array<String>) {
val portAllocation = PortAllocation.Incremental(20000) val portAllocation = PortAllocation.Incremental(20000)