Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 |
Tags
- RecursionError: maximum recursion depth exceeded while calling a Python object
- Stock
- API
- KOSDAQ
- Version Control
- Slack
- The Internet
- request param
- header
- ExceptionHandler
- python
- URI
- creon login
- Creon
- Instance
- WebServer
- Daishin Securities
- mongodb
- Web Crawler
- Rest
- mime type
- automated system
- pyinstaller
- Auto Login
- EC2
- handleMethodsArgumentNotValid
- stock trading
- AESCipher
- AWS
- spec
Archives
- Today
- Total
Change the Better World
How to change server port at Spring boot 본문
1. Change spring boot server port in application.properties or application.yml file
- application.properties
server.port=8081
- application.yml
server
port=8081
2. Change it at command line argument
- example
java -Dserver.port=8081 -jar ****.jar
3. at intellij
- example
Run/Debu Configurations -> VM options
: in VM option, type "-Dserver.port=8081"
4. using gradle bootRun
- example
"gradle bootRun -Pargs=--server.port=8082" in command line at the root project
'Build Automation > Gradle' 카테고리의 다른 글
How to run application using Gradle (0) | 2022.09.27 |
---|---|
Let's learn some common tasks(clean, build, assemble) (0) | 2022.09.25 |
Error: Could not find or load main class org.gradle.wrapper.GradleWrapperMain (0) | 2022.09.25 |
How to install Gradle? (0) | 2022.09.25 |
What is the Gradle? (0) | 2022.09.25 |
Comments