You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
philwebb
changed the title
Improve Error Message when server.address is wrong
PortNotFoundException can be thrown when server address is wrong
Apr 23, 2020
philwebb
changed the title
PortNotFoundException can be thrown when server address is wrong
PortInUseException can be thrown when server address is wrong
Apr 23, 2020
I'm using Spring Boot 2.2.6 with the embedded Tomcat server.
When I set the server.address property to a number then it seems to be a valid InetAddress.
For example:
Unfortunately then I get a this error message:
This is very misleading because the error is not that Port 8080 is in use but that the IP address is invalid.
Can you improve this error message?
The text was updated successfully, but these errors were encountered: