# Android client can't connect to nextcloud server

**URL:** <https://help.nextcloud.com/t/android-client-cant-connect-to-nextcloud-server/23856>\
**Category:** 🤖 Android\
**Created:** [November 22, 2017, 1:07pm UTC](https://help.nextcloud.com/t/android-client-cant-connect-to-nextcloud-server/23856 "2017-11-22T13:07:56Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ulysse132](https://help.nextcloud.com/letter_avatar/ulysse132/32/5_5575768a8748004e209b776fc1b2916d.png) [@ulysse132](https://help.nextcloud.com/u/ulysse132)\
**Post date:** [November 22, 2017, 1:07pm UTC](https://help.nextcloud.com/t/android-client-cant-connect-to-nextcloud-server/23856/1 "2017-11-22T13:07:56Z")

</div>

Hello,

I’ve installed nextcloud in my raspberry pi 3 and all is working good when using both web and windows client.  
However, when it comes to connect with android client, I just have an error when trying to connect to my server.  
The error is “_Server misconfigured_” or something like that because I’m french and the message is in french.

I can’t figure out what’s wrong. Could you help me please ?

Thanks a lot in advance

---

<div class="post-metadata">

**Author:** ![telleropnul](https://help.nextcloud.com/user_avatar/help.nextcloud.com/telleropnul/32/6685_2.png) [@telleropnul](https://help.nextcloud.com/u/telleropnul)\
**Post date:** [November 23, 2017, 10:18am UTC](https://help.nextcloud.com/t/android-client-cant-connect-to-nextcloud-server/23856/2 "2017-11-23T10:18:41Z")

</div>

It sounds like the web and windows client connect to your nextCloud server over the LAN (local area network) and your Android app is connecting over the WAN (wide area network; the internet). Try accessing your raspberry pi nextCloud server using your Android phone’s web browser or by using a computer located elsewhere that is connected to the internet and see if the web client works still. Alternatively, connect your Android phone to the WiFi network in your home to test over the LAN. If LAN works but WAN does not, you may want to look at opening port 80 and 443 on your internet modem for incoming HTTP and HTTPS connections. This is called Network Address Translation (NAT) and often referred to as opening (TCP/IP) ports on your firewall.

---

<div class="post-metadata">

**Author:** ![ulysse132](https://help.nextcloud.com/letter_avatar/ulysse132/32/5_5575768a8748004e209b776fc1b2916d.png) [@ulysse132](https://help.nextcloud.com/u/ulysse132)\
**Post date:** [November 23, 2017, 10:26am UTC](https://help.nextcloud.com/t/android-client-cant-connect-to-nextcloud-server/23856/3 "2017-11-23T10:26:08Z")

</div>

Sadly, it’s not the case. I connect to my server using [https://subdomain.domain.fr](https://subdomain.domain.fr) in the windows client and at work as well with web client. It all works.  
I posted an issue here :  
[https://github.com/nextcloud/android/issues/1806](https://github.com/nextcloud/android/issues/1806)  
and it seems that it’s a server problem. I’ll check out on midday.

---

<div class="post-metadata">

**Author:** ![ulysse132](https://help.nextcloud.com/letter_avatar/ulysse132/32/5_5575768a8748004e209b776fc1b2916d.png) [@ulysse132](https://help.nextcloud.com/u/ulysse132)\
**Post date:** [November 23, 2017, 12:02pm UTC](https://help.nextcloud.com/t/android-client-cant-connect-to-nextcloud-server/23856/4 "2017-11-23T12:02:28Z")

</div>

I don’t know where was the faulty line in nginx configuration but now it works all fine !

---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 14, 2024, 4:36pm UTC](https://help.nextcloud.com/t/android-client-cant-connect-to-nextcloud-server/23856/5 "2024-12-14T16:36:09Z")

</div>



---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 14, 2024, 4:36pm UTC](https://help.nextcloud.com/t/android-client-cant-connect-to-nextcloud-server/23856/6 "2024-12-14T16:36:11Z")

</div>


