# \[Android\] IPcaptue - I/O ERROR : Connection reset :: Why not?

**URL:** <https://discourse.processing.org/t/android-ipcaptue-i-o-error-connection-reset-why-not/15731>\
**Category:** Processing for Android\
**Created:** [November 23, 2019, 1:34am UTC](https://discourse.processing.org/t/android-ipcaptue-i-o-error-connection-reset-why-not/15731 "2019-11-23T01:34:47Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![GWAK](https://avatars.discourse-cdn.com/v4/letter/g/13edae/32.png) [@GWAK](https://discourse.processing.org/u/GWAK)\
**Post date:** [November 23, 2019, 1:34am UTC](https://discourse.processing.org/t/android-ipcaptue-i-o-error-connection-reset-why-not/15731/1 "2019-11-23T01:34:47Z")

</div>

Hi.  
I want to receive CCTV data as mjpeg.

1. The smartphone works well when connected to WIFI.
2. If you connect to LTE data instead of WIFI, it will stop after transmitting for about 2 seconds.

After that, an error message is displayed.

Error message: I / O ERROR: Connection reset  
 ![ERROE_MESSAGE](https://canada1.discourse-cdn.com/flex036/uploads/processingfoundation1/original/2X/d/dc517892c253a7257d6a93a74abb2a77676ad85e.jpeg)

What is the reason?

The experiment solved.

> >

The reason is two problems.

1. Firewall problem of AP: You need to open the firewall.
2. CCTV firewall problem: You need to open the CCTV firewall.

---

<div class="post-metadata">

**Author:** ![GWAK](https://avatars.discourse-cdn.com/v4/letter/g/13edae/32.png) [@GWAK](https://discourse.processing.org/u/GWAK)\
**Post date:** [November 23, 2019, 1:35am UTC](https://discourse.processing.org/t/android-ipcaptue-i-o-error-connection-reset-why-not/15731/2 "2019-11-23T01:35:06Z")

</div>

The reason is two problems.

1. Firewall problem of AP: You need to open the firewall.
2. CCTV firewall problem: You need to open the CCTV firewall.
