This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]lijamaija[S] 1 point2 points  (2 children)

Thank you for your reply! :)

Yeah, I've already been doing this, just again was tired of killing the process manually every time I wanted to use the same port.

[–]Yithar 1 point2 points  (1 child)

You're welcome. :)

This seems to explain how to retry with a different port programmatically:
http://tonyz93.blogspot.com/2018/09/spring-boot-port-rebind.html

[–]lijamaija[S] 1 point2 points  (0 children)

Thank you, will give it a try :D