Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

284
Views
Conexión rechazada para jhipster con Angular

Aquí está el problema:

Inicialicé la aplicación jhipster en local e intenté ejecutarla con npm start y obtuve el siguiente error:

 [webpack-dev-server] [HPM] Error occurred while proxying request localhost:9000/api/account to http://[::1]:8081/ [ECONNREFUSED] (https://nodejs.org/api/errors.html#errors_common_system_errors)

Luego modifiqué webpack/proxy.conf.js a:

 function setupProxy({ tls }) { const conf = [ { context: ['/api', '/services', '/management', '/v3/api-docs', '/h2-console', '/auth', '/health'], //target: `http${tls ? 's' : ''}://0.0.0.0:8080`, target: "http://[::1]:8081", //secure: false, //changeOrigin: true, }, ]; return conf; } module.exports = setupProxy;

Se produce el mismo error y el servidor no puede ejecutarse correctamente. ¿Debería probar con la versión de nodo LTS?

Estoy usando:

Jhipster 7.7.0 , Node.js 17.4.0 , todo en Ubuntu 20.04 LTS

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!