[SOLUTION:] Can't Establish a reliable connection to the server/Playstore No Connect

Search This thread

amjadkhan

New member
Jan 20, 2016
2
0
MUMBAI
i have try each every option but i facing a a different problem i am not able to connect mobile data and wifi only, one of my friends wifi detects and work on my device i have done factory reset. host edit, put #, every possible option tried but nothing happen . any one wil help me out
 

smuppy

Senior Member
Feb 4, 2009
242
4
OP, you saved me quite a lot of hairpulling and general badmouthing over my HTC Flyer. Worked like a charm :D

Why the h**l did HTC or Google ever put hardcoded IP addresses there in the first place... It's like asking for a disaster to happen, eh?
 

sohaiby23

New member
Mar 22, 2016
2
0
Karachi
Disable Hangouts, Drive, Google+, Talkback

I was facing the same problem in my Alcatel Pop 3 5015d. I was also searching for the method to root my phone in order to change the etc file as explained in the top answer but I didn't find anyway to root my phone. Finally, I disabled all the Google Apps, including Google+, Hangouts, Talkback, Google Drive, Gmail, Play Music, Youtube (excluding Google Play Store & Google Play services). Then I tried again to Add Google account by going to "Accounts" option and adding account.. this time.. the account created successfully. I only enabled back the Youtube, Gmail and Music app as I don't need the other apps. I also restarted the phone just to make sure that everything is working fine and it does working fine.
 

twinzerz211

New member
Apr 6, 2016
2
0
Didnt worked

I pasted this code under the localhost #74.125.93.113 android.clients.google.com
and saved it..But the Total Commander says File not Saved I have a Screenshot but idont know how to upload it in here...I tried evwn in Root Explorer but still it didnt saved..Please help me...
 

Yuri Rv

New member
Apr 5, 2016
3
0
I pasted this code under the localhost #74.125.93.113 android.clients.google.com
and saved it..But the Total Commander says File not Saved I have a Screenshot but idont know how to upload it in here...I tried evwn in Root Explorer but still it didnt saved..Please help me...
hmm... i din't save i just exit and when they ask for saved i did that's all try again again good luck :)
 

Turakoi

Member
Jul 23, 2014
5
0
Hi ive got a chinese android recovery menu how do i Wipe Cache/Dalvik Cache when i cant understand any of the options :(!
 

IAteYourDog

New member
Jun 21, 2016
2
0
Can't download

:confused: I can't even try this unless there is a way to get someone to upload the file without Google play / play store I can't even access the store
 

angxox

New member
Jun 26, 2016
1
0
51
newcastle
thank you i have finally fixed my phone after downloading wrong game

CREDITS GOES TO: to crazzzzy (and many other users) (pandawill) for posting this solution.

WARNING: YOU MAY LOSE ALL YOUR DATA BY DOING THIS.

Issues:
- Account sync OFF permanently with the message: "Sync is currently experiencing problems".
- Signing in Google Apps fails showing message: "Can't establish a reliable connection to the server"

Possible Cause:
- system file named 'hosts' (/etc/hosts) points to a Google server that changed IP, thus blocking access to Apps.

Possible Solution:
edit 'hosts' file (/etc/hosts) deleting or commenting (adding a # at the beginning) the old line

Please do it at your own risk.

How to do it:

METHOD 1

1.- ROOT your device (of course)

2.- Editing the file
You will need a proper editor
Download and Install Total Commander and open it
OR DOWNLOAD BELOW

3.- Browse with Total Commander to root/etc
(hint: on the right side of the screen there's a shortcut to system folder.. look for etc/ and you will find it)
Tap mount R/W
Long tap on "hosts" > edit file > Totalcmd-Editor

Open etc/hosts and edit the file. Just put # before 74.125.93.113 android.clients.google.com.

4.- SAVED

Edited file should look like this:

127.0.0.1 localhost
#74.125.93.113 android.clients.google.com

remember: based on my own observation it should be look like this:

127.0.0.1(just one space)localhost
#74.125.93.113(just one space)android.clients.google.com

5.- Turn OFF your device.
6.(Not Necessary, Go to Next Step. But if the problem persist do Factory Reset..) Got it on Recovery Mode, Factory Data Reset, wipe data.
7. Reboot your device.
8. Once the phone reboots, input your google account information when the phone asks for it.
9.- Sync to your account and contacts

METHOD 2:

1. Make sure you have a ROOT ACCESS on your Device.
2. Install Root Explorer, Run App, Grant SU Access.
3. Browse root / etc... at the top of your screen you will see mount R/O and mount R/W...
4.Tap mount R/W
5.Look for host file, long press it and open with text editor.
6. just Add # (pound sign) on the first number.
like this:

#74.125.93.113(just one space)android.clients.google.com

SAVE IT and Reboot.
Now you can connect to Google Play very well.

UPDATE: 08/22/13

If above method fail to connect you properly or have some issue on wireless connection, revert the host file to its original state
and install this app on playstore:
https://play.google.com/store/apps/details?id=com.treb.hosts&hl=en

run app and choose your prefer edit.

Another Way Playstore not working after Installing/Uninstalling Freedom App?

- Go to Root Explorer and Mount R/W then delete Hosts file under system/etc/
- Reboot
- Shutdown & Boot to Recovery
- Wipe Cache/Dalvik Cache
- Reboot
- Presto! back to normal.

Edit:
Removed Attached Files you may download it on Google Playstore. :)

Total Commander: https://play.google.com/store/apps/details?id=com.ghisler.android.TotalCommander

Root Explorer: https://play.google.com/store/apps/details?id=com.speedsoftware.rootexplorer

Note: You may use your favorite File Manager as long as it can browse up to the root of your Phone..

Download Other File Managers:
Root Browser: http://forum.xda-developers.com/showthread.php?t=1338582 (Credits to the Devs)
ES Explorer: http://forum.xda-developers.com/showthread.php?t=2210417 (Credits to the Devs)

Note: If ABOVE method doesn't work for you... reflash rom would be your final choice!

JUST A SIMPLE CLICK ON THANKS BUTTON... WILL GLADLY APPRECIATED!
ACTIONS SPEAK LOUDER THAN WORDS SO YOU MAY CLICK THANKS BUTTON RATHER THAN THANK ME ON REPLY...

Thank u I've finally fixed my phone after downloading a wrong game and I couldn't use my play store but after doing what you suggested my phone is working and I have my play store working again

---------- Post added at 08:02 PM ---------- Previous post was at 07:56 PM ----------

Thank u I've finally fixed my phone after downloading a wrong game and I couldn't use my play store but after doing what you suggested my phone is working and I have my play store working again

---------- Post added at 08:22 PM ---------- Previous post was at 08:02 PM ----------

Thank you for you help I've finally got my phone working after downloading a game and lost my play store. Now I have it working thank u so much I gutted I've lost all my photos. Unless u know a way I can restore them :)
 

IAteYourDog

New member
Jun 21, 2016
2
0
you cam use a computer

When I unrooted my phone and performed a factory data reset. I can't sign-up in my Google account, also I can connect in my home WiFi as usual but it can't load webpages (net::ERR_NAME_NOT_RESOLVE). Since I can't download third-party applications, I can't download Root Browser. :crying: :crying: :crying: :crying:

You can download total commander to your computer and transfer it over to your device. And disconnect the device from You PC and install the program from memory. On your device. And then root won't be nessasery
 

Jamalpatterson

New member
Jul 28, 2016
1
0
Error

When I tried to save after I added the # in front it I would tap save and it says error writing to file: /etc/hosts
Please help me!
 

Top Liked Posts

  • There are no posts matching your filters.
  • 287
    CREDITS GOES TO: to crazzzzy (and many other users) (pandawill) for posting this solution.

    WARNING: YOU MAY LOSE ALL YOUR DATA BY DOING THIS.

    Issues:
    - Account sync OFF permanently with the message: "Sync is currently experiencing problems".
    - Signing in Google Apps fails showing message: "Can't establish a reliable connection to the server"

    Possible Cause:
    - system file named 'hosts' (/etc/hosts) points to a Google server that changed IP, thus blocking access to Apps.

    Possible Solution:
    edit 'hosts' file (/etc/hosts) deleting or commenting (adding a # at the beginning) the old line

    Please do it at your own risk.

    How to do it:

    METHOD 1

    1.- ROOT your device (of course)

    2.- Editing the file
    You will need a proper editor
    Download and Install Total Commander and open it
    OR DOWNLOAD BELOW

    3.- Browse with Total Commander to root/etc
    (hint: on the right side of the screen there's a shortcut to system folder.. look for etc/ and you will find it)
    Tap mount R/W
    Long tap on "hosts" > edit file > Totalcmd-Editor

    Open etc/hosts and edit the file. Just put # before 74.125.93.113 android.clients.google.com.

    4.- SAVED

    Edited file should look like this:

    127.0.0.1 localhost
    #74.125.93.113 android.clients.google.com

    remember: based on my own observation it should be look like this:

    127.0.0.1(just one space)localhost
    #74.125.93.113(just one space)android.clients.google.com

    5.- Turn OFF your device.
    6.(Not Necessary, Go to Next Step. But if the problem persist do Factory Reset..) Got it on Recovery Mode, Factory Data Reset, wipe data.
    7. Reboot your device.
    8. Once the phone reboots, input your google account information when the phone asks for it.
    9.- Sync to your account and contacts

    METHOD 2:

    1. Make sure you have a ROOT ACCESS on your Device.
    2. Install Root Explorer, Run App, Grant SU Access.
    3. Browse root / etc... at the top of your screen you will see mount R/O and mount R/W...
    4.Tap mount R/W
    5.Look for host file, long press it and open with text editor.
    6. just Add # (pound sign) on the first number.
    like this:

    #74.125.93.113(just one space)android.clients.google.com

    SAVE IT and Reboot.
    Now you can connect to Google Play very well.

    UPDATE: 08/22/13

    If above method fail to connect you properly or have some issue on wireless connection, revert the host file to its original state
    and install this app on playstore:
    https://play.google.com/store/apps/details?id=com.treb.hosts&hl=en

    run app and choose your prefer edit.

    Another Way Playstore not working after Installing/Uninstalling Freedom App?

    - Go to Root Explorer and Mount R/W then delete Hosts file under system/etc/
    - Reboot
    - Shutdown & Boot to Recovery
    - Wipe Cache/Dalvik Cache
    - Reboot
    - Presto! back to normal.

    Edit:
    Removed Attached Files you may download it on Google Playstore. :)

    Total Commander: https://play.google.com/store/apps/details?id=com.ghisler.android.TotalCommander

    Root Explorer: https://play.google.com/store/apps/details?id=com.speedsoftware.rootexplorer

    Note: You may use your favorite File Manager as long as it can browse up to the root of your Phone..

    Download Other File Managers:
    Root Browser: http://forum.xda-developers.com/showthread.php?t=1338582 (Credits to the Devs)
    ES Explorer: http://forum.xda-developers.com/showthread.php?t=2210417 (Credits to the Devs)

    Note: If ABOVE method doesn't work for you... reflash rom would be your final choice!

    JUST A SIMPLE CLICK ON THANKS BUTTON... WILL GLADLY APPRECIATED!
    ACTIONS SPEAK LOUDER THAN WORDS SO YOU MAY CLICK THANKS BUTTON RATHER THAN THANK ME ON REPLY...
    4
    Thanks Alot man !!!

    Thanks Alot man !!! it works

    here are the steps ( your device must me rooted ) :

    1. download total commandar.apk from google
    2. Install it in your android mobile
    3. open the total commandar from ur android mobile and goto File System root
    4. search for the folder etc and open that folder
    5. now search for the file name ' hosts ' and click on it .
    6. select edit file and add ---> " # " <--- before 2nd line like this " #74.125.93.113 android.clients.google.com "
    7. and save it
    8. Reboot your device
    9. turn on ur wifi and ADD GOOGLE ACCOUNT !!! Enjoy
    4
    Well well... after so much of experimenting, finally the HOSTS patch did the work!!!

    Edited the HOSTS using Root Explorer, rebooted the device...and VIOLA!!!!
    Tons of notifications...
    I guess all apps using GCM too were stuck!

    Thanks a ton!!!
    Cheers!

    SHOULD i expect you to click the THANKS button... :p

    It worked without factory reset

    Initially I tried to edit the "hosts" file with ES File explorer but failed to do so then I tried it with Root Explorer and result was the same, finally I downloaded Total Commander apk and edited the file and when I attempted to save changes it asked for permission which I allowed and saved it. Then I reboot my device and opted for add account and it just worked. My IP was not the same as mentioned above but I didn't change it rather I just put that # tag before second line.

    I went through these steps

    1. Downloaded and Installed Total Commandar.apk
    2. Open Total Commander and go to File System Root
    3. Allow Root permission when asked
    4. Search for the folder named "etc" and open it
    5. Now search for the file named ' hosts ' and click on it .
    6. Select edit file and add " # " before 2nd line like this #74.125.93.113 android.clients.google.com
    7. And save it.
    8. Reboot your device
    9. Turn on your data connection and ADD GOOGLE ACCOUNT !!! Enjoy

    PLEASE click thanks :p

    dear
    brother ur metho-1 works

    highly thanks to uuu
    i love you

    rajdeep

    yay! just click THANKS under my name would be great!
    2
    I read your solution but when i saw my host file there was a different ip address

    127.201.26.224 android.clients.google.com
    mtalk.google.com

    i comment both of them and did what you said but it didn't work the first time
    2nd time i did that and it worked


    Thanks
    2
    i find this works

    1/ download adaway ... http://forum.xda-developers.com/showthread.php?t=2190753&nocache=1#

    2/ then download new hosts .. reboot!

    3/ then revert to original hosts reboot

    4/ hopefully we are working again!!!