andreybleme andreybleme - 4 months ago 51
Node.js Question

Jhipster application error first run

After generationg successfully a new Jshipster 3 application, I'm having trouble to serve the application using

gulp serve

I'm using Ubuntu 16.04 and
npm 3.9
and when I try to run
gulp serve
, I get this error:

enter image description here

And when I access
I get the following message on the browser:

Error: connect ECONNREFUSED
at Object.exports._errnoException (util.js:870:11)
at exports._exceptionWithHostPort (util.js:893:20)
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1063:14)

Any advices? :(


The error says that gulp cannot connect to the backend on the address, which most likely mean that you haven't started the backend.

You should start the Spring application using the mvn spring-boot:start or mvn command, which starts the application on the http://localhost:8080 address.

Read more here: