I have developed a project using this link: https://spring.io/guides/gs/serving-web-content/ I used maven to develop above project. After creating the jar file using mvn package, when I run the jar file using below command:
java - jar target/gs-serving-web-content-0.1.0.jar
It runs on port 8080, but I want it to be run on some different port other than 8080.
I tried a lot to search its answer but no use.
Please help me out in this as its blocking me for long time now.
Thanks and best reagrds.