How does a Node js application register with Spring eureka?

Is it possible to implement node js application as spring eureka client? I use eureka-js-client to register spring eureka server, it always answers with 404 error.

+4
source share
2 answers

Look at the README eureka-js-client for some useful tips for this error.

If you are using Spring Cloud, most likely you will want to install servicePathin the section of eurekayour client configuration on /eureka/apps/.

+4
source

Yes Maybe check these three files in repo .

eureka: {
    host: 'localhost',
    port: 8761,
    servicePath: '/eureka/apps/'
  }

server.js ( , , IP- )

+1

All Articles