0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

Micronautのポートを変更する

Last updated at Posted at 2021-04-24

やりたいこと

Micronautで開発している際、デフォルトのポート8080では他のサービスと競合する場合がある.
そのため、ポートの変更をしたい場合がある.application.ymlに設定することで変更可能である.

設定方法

Spring Bootとほぼ同じで、application.ymlで変更できる.

application.yml
micronaut:
  server:
    port: 8081
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?