Can't Access internet through laptop wifi in my xperia u I was able to create a hotspot through Connectify software in my laptop, but when i connect my phone to it ,it shows i am connected but i am not able to access the internet. Is there any option that should be enabled on phone?
Here's a useful post from XDA-Developers website: refer to this link.

Configuring laptop/pc


First, you need to create an adhoc network:
Open network and sharing center on control panel
click on manage wireless networks then add , a windows is shown, select create an ad hoc network click on next then input a network name(for example name it 015) then choose the security type (you can select either open or WEP) then check the box save this network
Now reopen network and sharing center on control panel then change adapter settings.
Right click on your internet network and click on properties then select the tab sharing and check the "allow other network users to connect through this computer's internet connection" (choose wireless network, if multiple networks are shown).
check also the "allow other network users to control or disable the shared internet connection"
next click on setting and check all items..
Right click on wireless network connection and double click on "internet protocol version 4(tcp/ipv4)"
on the new window select use the following ip address 192.168.137.1
and subnet mask 255.255.255.0
now activate your new adhoc network (if not already) go to the network icon next to the clock and select it and connect.
Congratulation your laptop/pc is now configured .




Configuring the android device :

Now, we will configure the android device to make it able to access this new adhoc network


Go to setting on the menu of your device
then wireless and networks then wi-fi settings then activate wi-fi .
Right click and choose advanced. Check the "Use static IP"and fill in :


ip address: 192.168.137.5 (for example)
Gateway : 192.168.137.1
Netmask : 255.255.255.0
DNS 1: 192.168.137.1
DNS 2 : 172.168.137.1

right click and save.
Finally, click on the adhoc network (and input password if you use WEP security) then connect. 
If you encounter problems connecting ,try to disable then to reactivate wifi, else reboot your android device.