mfuroyama / nodeVISTAClients

example clients for nodeVISTA
GNU Affero General Public License v3.0
1 stars 0 forks source link

console client: connection refused on port 9030 #7

Closed rafael5 closed 7 years ago

rafael5 commented 7 years ago

console client: connection refused on port 9030, but not 9000

[console]$ curl http://10.2.2.100:9030 curl: (7) Failed to connect to 10.2.2.100 port 9030: Connection refused

[console]$ curl http://10.2.2.100:9000 Found. Redirecting to /schema

sbruno81 commented 7 years ago

When you start the clientService server do you see the following output?

{"name":"clinicalService","hostname":"addgene-ubuntu-1604-vbox","pid":17213,"level":30, "msg":"Clinical Service listening on port 9030","time":"2017-02-27T20:22:47.506Z","v":0}

Also, are you leaving the clientService terminal open? You'll have to test connecting to it in another window.

rafael5 commented 7 years ago

Yes. I do see this output indicating that the service is running.

Note that by default the clientService is not running in the VM. One has to

1a. Start the service: ssh to the guest VM and start it (per your instructions). 1b. Confirm service is running: curl http://10.2.2.100:9030 -> then it gives correct response

  1. Open a separate terminal on the host, and then run "node console.js"
conorcaregraf commented 7 years ago

it's not running the current demo - it will run in 1.2 by default just as rpcServer and fmqlServer do.