RestTemplate 사용 중 Connection refused: connect 오류 발생
평소처럼 restTemplate를 사용하다가 이상하게 연동이 안되는 상황 발생 (서버는 npm의 json-server 사용) fun getTest() { val body = restTemplate.getForEntity("$host/test", String::class.java).body logger.info {"body : $body"} } o.s.web.client.RestTemplate : HTTP GET http://localhost:3020/test o.s.web.client.RestTemplate : Accept=[text/plain, application/json, application/*+json, */*] o.s.s.s.TaskUtils$LoggingErrorHandler : Unexpe..
개발/Java, Kotlin
2023. 2. 21. 11:06
공지사항
최근에 달린 댓글
- Total
- 219,716
- Today
- 0
- Yesterday
- 8
TAG
- vi
- Profile
- oracle
- grant
- 맛집
- maven
- Tomcat
- 합정
- docker
- Shell
- properties
- Eclipse
- 도커
- Linux
- Spring
- boot
- IntelliJ
- vrapper
- 코틀린
- Build
- vim
- Database
- java
- jQuery
- Kotlin
- resttemplate
- ls
- 톰캣
- mybatis
- Access