Home  >  Article  >  Java  >  How to start multiple ports of the same SpringBoot project in idea

How to start multiple ports of the same SpringBoot project in idea

PHPz
PHPzforward
2023-05-13 16:58:061841browse

There is now a default port 8080 running.

How to start multiple ports of the same SpringBoot project in idea

How to start multiple ports of the same SpringBoot project in idea

##Select 1 and click 2. At this time, there are two skyApplication

How to start multiple ports of the same SpringBoot project in idea

How to start multiple ports of the same SpringBoot project in idea

How to start multiple ports of the same SpringBoot project in idea

#-Dserver.port=9999

For example, the configuration here is 9999. This configuration is mainly used to test NGINX

Select and run

The above is the detailed content of How to start multiple ports of the same SpringBoot project in idea. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:yisu.com. If there is any infringement, please contact admin@php.cn delete