Greg
Greg

Reputation: 1367

actuator port in >= Spring Boot 2.3.4

Is it still possible to change the actuator port in 2.3.4? neither management.port nor management.endpoints.port seems to work. Intellij doesn't recognize any of these settings, either.

Upvotes: 1

Views: 1465

Answers (1)

Greg
Greg

Reputation: 1367

It is management.server.port. Customizing the Management Server Port

With these settings:

server:
  port: 8082

management:
  server:
    port: 8081

the default app port is 8082 and the actuator data is exposed at 8081

Upvotes: 3

Related Questions