Tablet [SOLVED] android cannot establish a reliable connection to the server

So you have a problem with your device,maybe you was install a custom rom or you have restored your stock ROM and you can't Connect to playstore,you can't SIGN IN google account

i got the solution

first at all,you should prepare this all
-Root Explorer
-Rooted Device

You can get root explorer on PlayStore

lets go to first step :

1. Open Root Explorer
2. Open system folder then go to etc folder
3. Find a file named "host"
4. Long press on "host" file and click open with,then click Text Editor

there will text file like down here


Code:
127.0.0.1 localhost
#127.189.7.142 android.clients.google.com
mtalk.google.com
5.edit the text file,what you need to do it just add # on the port name,so edit it until like down here

Code:
#127.0.0.1 localhost
#127.189.7.142 android.clients.google.com
mtalk.google.com
diffrent port isn't the problem,don't copy my port,what you need to do its just add # on the both port number


If it helped you can click THANKS button on the left bottom, i really want to help you guys,HOPE IT HELPED