- Java 8
- Maven 3.3.x
mvn clean package
mvn spring-boot:run
Sending requests to:
http://localhost:8880/demo
http://localhost:8881/demo
should result in successful responses.
Spring Boot demo application accompanying source code for blog post at http://tech.asimio.net/2016/12/15/Configuring-Tomcat-to-Listen-on-Multiple-ports-using-Spring-Boot.html
https://bitbucket.org/asimio/springboot-tomcat-multiple-ports/src/0785ee854bc7?at=master