Question: I know that there are several threads posted about this issue, however I believe my problem to be a bit different:

I have installed Android emulator on my desktop.

When i try to browse internet via the emulator, it works perfect.

But the problem is the apps that i have installed in the emulator are not able to access the internet 

i installed whatsapp successfully, the registration screen loads properly, then i entered my mobile number and pressed OK button. I keep getting the following error 

> 
> Unable to connect. Please check that you are connected to the internet
>  and try again. Please reboot your phone if your connection problem
>  persists.
> 
> 
> 

Its very annoying that i have been Googleing the error for weeks now and still havent reached a solution to the problem

I tried bluestacks .. i also reinstalled it as well as emulator several times... it did not help...

1000 thanks to person that helps me solve this issue..:D

Answer: 
1. Re install emulator
2. Delete and create the emulator again
3. Check whether machine is connected to online
4. Check Android manifest to see whether application has access to internet

These are some common issues.
Add 8.8.8.8

on a Mac: System Preferences > Network > DNS 
(or equivalent for Windows)

As described here: [Android emulator not able to access the internet](https://stackoverflow.com/questions/42736038/android-emulator-not-able-to-access-the-internet)