Hi,
I have found a solution to this problem.
1. GO to wifi settings
2. Forget the wifi network
3. CONNECT AGAIN BUT BEFORE CONNECTING GO TO ADVANCED OPTIONS AND CHOOSE STATIC INSTEAD OF AUtOMATIC. Enter in the ip address etc and connect. Problem will be solved.