我应该使用cordapp示例访问哪个URL或端口?

时间:2019-03-31 05:56:19

标签: intellij-idea corda

我在IntelliJ IDEA中运行 cordapp-example ,控制台没有显示任何错误,因此我想检查它是否还好。
但是,输入 localhost:10007 / web / example 后,它告诉我“ localhost拒绝了连接”

我在this link中尝试了这些答案, 但我仍然无法正常访问。
使用端口10009时,网页始终处于运行状态。
使用端口10012时,网页显示为“ err_empty_response”。
使用端口10015,网页显示“本地主机拒绝连接”

我想知道正确访问cordapp示例时应使用的网址或端口
想!

流动是我在IntelliJ IDEA中运行cordapp-example的结果
我认为它运行正常。

QUASAR WARNING: Assertions enabled. This may harm performance.
[INFO] 12:32:35,170 [driver-pool-thread-0] network.NodeInfoFilesCopier. - Now watching: /Users/ql/IdeaProjects/cordapp-example/build/node-driver/20190331-043223.985/NotaryService
[INFO] 12:32:35,579 [driver-pool-thread-0] internal.DriverDSLImpl. - Starting out-of-process Node Notary Service, debug port is not enabled
[INFO] 12:33:16,908 [driver-pool-thread-1] internal.RPCClient. - Startup took 6450 msec
[INFO] 12:33:17,039 [driver-pool-thread-0] internal.DriverDSLImpl. - Node handle is ready. NodeInfo: NodeInfo(addresses=[localhost:10000], legalIdentitiesAndCerts=[O=Notary Service, L=Zurich, C=CH], platformVersion=4, serial=1554006784224), WebAddress: localhost:10003
[INFO] 12:33:17,068 [main] network.NodeInfoFilesCopier. - Now watching: /Users/ql/IdeaProjects/cordapp-example/build/node-driver/20190331-043223.985/PartyA
[INFO] 12:33:17,069 [main] internal.DriverDSLImpl. - Starting out-of-process Node PartyA, debug port is not enabled
[INFO] 12:33:17,090 [main] network.NodeInfoFilesCopier. - Now watching: /Users/ql/IdeaProjects/cordapp-example/build/node-driver/20190331-043223.985/PartyB
[INFO] 12:33:17,091 [main] internal.DriverDSLImpl. - Starting out-of-process Node PartyB, debug port is not enabled
[INFO] 12:33:17,108 [main] network.NodeInfoFilesCopier. - Now watching: /Users/ql/IdeaProjects/cordapp-example/build/node-driver/20190331-043223.985/PartyC
[INFO] 12:33:17,109 [main] internal.DriverDSLImpl. - Starting out-of-process Node PartyC, debug port is not enabled
[INFO] 12:34:02,502 [driver-pool-thread-1] internal.RPCClient. - Startup took 1109 msec
[INFO] 12:34:03,136 [driver-pool-thread-0] internal.RPCClient. - Startup took 1240 msec
[INFO] 12:34:03,235 [driver-pool-thread-1] internal.RPCClient. - Startup took 649 msec
[INFO] 12:34:04,570 [rpc-client-observation-pool-0] internal.DriverDSLImpl. - Node handle is ready. NodeInfo: NodeInfo(addresses=[localhost:10004], legalIdentitiesAndCerts=[O=PartyA, L=London, C=GB], platformVersion=4, serial=1554006834518), WebAddress: localhost:10007
[INFO] 12:34:04,588 [rpc-client-observation-pool-0] internal.DriverDSLImpl. - Node handle is ready. NodeInfo: NodeInfo(addresses=[localhost:10008], legalIdentitiesAndCerts=[O=PartyB, L=New York, C=US], platformVersion=4, serial=1554006835525), WebAddress: localhost:10011
[INFO] 12:34:04,606 [rpc-client-observation-pool-0] internal.DriverDSLImpl. - Node handle is ready. NodeInfo: NodeInfo(addresses=[localhost:10012], legalIdentitiesAndCerts=[O=PartyC, L=Paris, C=FR], platformVersion=4, serial=1554006835458), WebAddress: localhost:10015

0 个答案:

没有答案