Access .net web service in localhost from android device -
i have problem accessing .net web service in laptop localhost android device.
i can access android emulator using address 10.0.2.2:49654.
then, created access point using connectify laptop share local area connection , able connect android device access point via wifi.
then, tried use same address, 10.0.2.2:49654, failed.
i used laptop ip address, 192.168.1.100, still failed.
i tried other option, 192.168.1.100:49654, again, failed.
i appreciate given me, all!
you might looking @ wrong ip. 'local' ip 192.168.1.xx usually, connectify ip (at least me) 192.168.2.xx
go cmd -> ipconfig , other ip there. these mine
wireless lan adapter wireless network connection 2: connection-specific dns suffix . : link-local ipv6 address . . . . . : fe80::d15d:982b:df0e:7df5%40 ipv4 address. . . . . . . . . . . : 192.168.2.1 - connectify local ip subnet mask . . . . . . . . . . . : 255.255.255.0 default gateway . . . . . . . . . : wireless lan adapter wireless network connection: connection-specific dns suffix . : local.lan link-local ipv6 address . . . . . : fe80::4962:1644:5e18:408c%38 ipv4 address. . . . . . . . . . . : 192.168.1.2 - local ip -> wifi internet subnet mask . . . . . . . . . . . : 255.255.255.0 default gateway . . . . . . . . . : 192.168.1.1
i hope helps
Comments
Post a Comment