Preview:
--@EnableEurekaServer
	(in main application class)

--application.properties configuration

  spring.application.name=discovery-server
  server.port=8761
  eureka.client.registerWithEureka = false
  eureka.client.fetchRegistry = false
  eureka.instance.preferIpAddress=true
  eureka.client.serviceUrl.defaultZone=http://localhost:8761/eureka
downloadDownload PNG downloadDownload JPEG downloadDownload SVG

Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!

Click to optimize width for Twitter