I was looking for possible root cause of the problem reported here (SO thread) - Cannot start a Tomcat v9.0 server in eclipse.
While fiddling for above (unrelated to the thread above mentioned), accidentally, instead of
server.port=8080
I put below in my application.properties file
server.address=8080
When I tried to start server I kept getting this error before I realized the typo.
***************************
APPLICATION FAILED TO START
***************************
Description:
Web server failed to start. Port 8080 was already in use
When I replaced "address" with "port", all worked fine.
Question: Is it expected behavior or a known defect or a possible new defect? If its a new defect, where can I report it on Spring Community?
UPDATE
Per the comments on github issue tracker https://github.com/spring-projects/spring-boot/issues/21101, it is fixed now and the fix will be released in next release 2.2.7