Skip to content
Advertisement

Unable to connect to xampp server from android device

I am using BrainTree Payment service in my android app.For server ,I am using php and XAMPP. Now when I use emulator and access server with “http://10.0.2.2:80“.

IP address, everything works fine but if I put my laptop’s IP address(where server is running),it does’t work on android device and emulator.

I am getting :

“Connection Timeout Error”

Advertisement

Answer

Thank You !It turned out to be McAfee was blocking the connection request..SO after disabling McAfee,it worked!

User contributions licensed under: CC BY-SA
5 People found this is helpful
Advertisement