Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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 http://localhost:9000/ I get the following message on the browser:

    Error: connect ECONNREFUSED 127.0.0.1:8080
   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? :(

like image 878
andreybleme Avatar asked Mar 29 '26 20:03

andreybleme


1 Answers

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

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

Read more here: https://jhipster.github.io/development/

like image 140
Andras Szell Avatar answered Apr 02 '26 02:04

Andras Szell



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!