ajax call to localhost(10.0.2.2)