eureka 에 user service 등록
1. intellij로 실행
vm option 에서 -Dserver.port=포트
2. mvn으로 실행
mvn spring-boot:run -Dspring-boot.run.jvmArguments='-Dserver.port=포트'
3. command로 실행
java -jar -Dserver.port=포트 ./target/user-service-0.0.1-SNAPSHOT.jar
'연구개발 > MSA' 카테고리의 다른 글
gateway (0) | 2024.01.17 |
---|---|
h2 database (0) | 2024.01.16 |
'io.netty:netty-resolver-dns-native-macos'. Use DEBUG level to see the full stack: java.lang.UnsatisfiedLinkError: failed to load the required native library (0) | 2024.01.15 |
03. API Gateway Service (0) | 2024.01.15 |
01. Service Discovery (0) | 2024.01.15 |