# Connection android phone

**URL:** <https://forums.rocket.chat/t/connection-android-phone/11145>\
**Category:** Mobile Apps\
**Tags:** android, mobile, rocketchat-apps\
**Created:** [May 10, 2021, 12:17pm UTC](https://forums.rocket.chat/t/connection-android-phone/11145 "2021-05-10T12:17:06Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![tuhosk](https://avatars.discourse-cdn.com/v4/letter/t/34f0e0/32.png) [@tuhosk](https://forums.rocket.chat/u/tuhosk)\
**Post date:** [May 10, 2021, 12:17pm UTC](https://forums.rocket.chat/t/connection-android-phone/11145/1 "2021-05-10T12:17:06Z")

</div>

after installing the local rocket chat server, when logging in to android phones, it will display the following message:

cleartext communication to ip server not permitted by network security policy

---

<div class="post-metadata">

**Author:** ![nick.vidal](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/nick.vidal/32/2650_2.png) [@nick.vidal](https://forums.rocket.chat/u/nick.vidal)\
**Post date:** [May 10, 2021, 2:56pm UTC](https://forums.rocket.chat/t/connection-android-phone/11145/2 "2021-05-10T14:56:13Z")

</div>

Are you using https instead of http?

---

<div class="post-metadata">

**Author:** ![john.crisp](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/john.crisp/32/2711_2.png) [@john.crisp](https://forums.rocket.chat/u/john.crisp)\
**Post date:** [May 10, 2021, 3:22pm UTC](https://forums.rocket.chat/t/connection-android-phone/11145/3 "2021-05-10T15:22:58Z")

</div>

Absolutely.

You need to use https to connect with the app.

You can use a self signed certificate or a letsencrypt one with a web server/proxy

What version of Rocket.Cat and the app are you using?

---

<div class="post-metadata">

**Author:** ![tuhosk](https://avatars.discourse-cdn.com/v4/letter/t/34f0e0/32.png) [@tuhosk](https://forums.rocket.chat/u/tuhosk)\
**Post date:** [May 11, 2021, 6:49am UTC](https://forums.rocket.chat/t/connection-android-phone/11145/4 "2021-05-11T06:49:47Z")

</div>

I used both http and https when connecting and the same voice. the client version in android mobile is 4.16.2.23909

---

<div class="post-metadata">

**Author:** ![john.crisp](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/john.crisp/32/2711_2.png) [@john.crisp](https://forums.rocket.chat/u/john.crisp)\
**Post date:** [May 11, 2021, 8:36am UTC](https://forums.rocket.chat/t/connection-android-phone/11145/5 "2021-05-11T08:36:53Z")

</div>

But I think the error comes from using http.

Just use https and you shouldn’t get it?

---

<div class="post-metadata">

**Author:** ![tuhosk](https://avatars.discourse-cdn.com/v4/letter/t/34f0e0/32.png) [@tuhosk](https://forums.rocket.chat/u/tuhosk)\
**Post date:** [May 11, 2021, 8:49am UTC](https://forums.rocket.chat/t/connection-android-phone/11145/6 "2021-05-11T08:49:39Z")

</div>

when using https it gave me the voice connection close

---

<div class="post-metadata">

**Author:** ![john.crisp](https://sea1.discourse-cdn.com/flex021/user_avatar/forums.rocket.chat/john.crisp/32/2711_2.png) [@john.crisp](https://forums.rocket.chat/u/john.crisp)\
**Post date:** [May 11, 2021, 8:57am UTC](https://forums.rocket.chat/t/connection-android-phone/11145/7 "2021-05-11T08:57:54Z")

</div>

> [@tuhosk](#):
>
> when using https it gave me the voice connection close

Can you explain exactly what you mean?

Your original issue was this:

> [@tuhosk](#):
>
> cleartext communication to ip server not permitted by network security policy

I don’t understand ‘voice connection close’ ?

If you mean it that the app won’t connect properly then you need to fix your https certificates and web server.
