patrickjquinn / P-Brain.ai-RasPi

Headless Client for P-Brain.ai Virtual Assistant on Raspberry Pi
22 stars 11 forks source link

localhost connection refused #1

Closed natxopedreira closed 7 years ago

natxopedreira commented 7 years ago

Hi, i just want to run this on OSX, and im getting this error.... maybe im doing something wrong?

P-Brain Says: You can also type your command into the terminal! Hey Brain, What is the weather in Paris { Error: connect ECONNREFUSED 127.0.0.1:4567 at Object.exports._errnoException (util.js:1022:11) at exports._exceptionWithHostPort (util.js:1045:20) at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1087:14) code: 'ECONNREFUSED', errno: 'ECONNREFUSED', syscall: 'connect', address: '127.0.0.1', port: 4567 } (node:16074) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: connect ECONNREFUSED 127.0.0.1:4567

thanks

patrickjquinn commented 7 years ago

You need to start the server first: Go to https://github.com/patrickjquinn/P-Brain.ai and follow the instructions and then start this client :)

natxopedreira commented 7 years ago

Thanks!! sorry for the inconvenience.

patrickjquinn commented 7 years ago

No problem! Thats what i'm here for :)