Skip to content

How to change port num in application.yml with JAR? #3924

Closed Answered by waitspring
waitspring asked this question in Q&A
Discussion options

You must be logged in to vote

The num port could be configure in application.yml like this:

server:
  port: 10000

kafka:
  clusters:
    - name: local
      bootstrapServers: localhost:9092

A demo from source code case in kafka-ui-master/kafka-ui-master/kafka-ui-api/src/main/resources/application-local.yml.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by waitspring
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant