CodePudding user response:
SpringBoot enabled by default embedded tomcat container, listen on port 8080, so you don't have separate configuration,CodePudding user response:
Because: Tomcat SpringBoot has a built-in Web server, so you don't have separate configurationCodePudding user response:
https://blog.csdn.net/weixin_43570367/article/details/104213404CodePudding user response:
& lt; Dependency>org.springframework.boot Spring - the boot - starter - web org.springframework.boot Spring - the boot - starter - tomcat
Embedded tomcat, you need to remove the embedded tomcat