---
title: "Discussion on \"Webclient recv: Connection reset by peer\" | Hashnode"
description: "Discussion on \"Webclient recv: Connection reset by peer\". Java 21, Webclient(Webflux), VirtualThread 환경에서 외부 API와 통신 할 때 아래와 같은 오류가 빈번히 발생하였습니다. 이를 해결하기 위해 어떤 작업을 진행하였는지 간략히 설명하고자 합니다.\nErrors.NativeIoException: recvAddress(..) failed: Connection reset by peer\n\"Connection reset by peer\"는 일반적으로 TCP 연결이 예기치 않게..."
url: "https://hashnode.com/posts/webclient-recv-connection-reset-by-peer/66a88f2670cf91a9364bb225"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Webclient recv: Connection reset by peer](https://amecoder.hashnode.dev/webclient-recv-connection-reset-by-peer?utm_source=hashnode&utm_medium=feed)

Java 21, Webclient(Webflux), VirtualThread 환경에서 외부 API와 통신 할 때 아래와 같은 오류가 빈번히 발생하였습니다. 이를 해결하기 위해 어떤 작업을 진행하였는지 간략히 설명하고자 합니다. Errors.NativeIoException: recvAddress(..) failed: Connection reset by peer "Connection reset by peer"는 일반적으로 TCP 연결이 예기치 않게...

Jul 30, 2024 · 2 min read · amecoder.hashnode.dev  
Read the article

-   [#connection-reset-by-peer](https://hashnode.com/tag/connection-reset-by-peer)
-   [#springboot](https://hashnode.com/tag/springboot)
-   [#webclient](https://hashnode.com/tag/webclient)
-   [#okhttp](https://hashnode.com/tag/okhttp)
-   [#troubleshooting](https://hashnode.com/tag/troubleshooting)

## Written by

[HyeongSu](https://hashnode.com/@amecoder)

@amecoder · Seoul, South Korea

  
[View profile](https://hashnode.com/@amecoder)

Backend Developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
