C casefox New Member Licensed User Longtime User Jun 10, 2014 #1 Hi Erel, How can i use my localhost url like "http://localhost/TestApp/" Or "https://192.168.0.103:8888/MyTest/Login" to get/post data i am getting error "Error: javax.net.ssl.SSLPeerUnverifiedException: No peer certificate" while using the above url for get and post method. i am able to get data when using live url like "https://myweb.com/Mytest/Login" but its difficult to us that every time deploy the code and check... Hope you can point me to the right direction. Thanks
Hi Erel, How can i use my localhost url like "http://localhost/TestApp/" Or "https://192.168.0.103:8888/MyTest/Login" to get/post data i am getting error "Error: javax.net.ssl.SSLPeerUnverifiedException: No peer certificate" while using the above url for get and post method. i am able to get data when using live url like "https://myweb.com/Mytest/Login" but its difficult to us that every time deploy the code and check... Hope you can point me to the right direction. Thanks
Erel B4X founder Staff member Licensed User Longtime User Jun 11, 2014 #2 Hi Erel, Click to expand... This is a community forum. Please don't limit your questions to a single member. localhost points to the local device. It will not work. Search for HttpClient.InitializeAcceptAll. Upvote 0
Hi Erel, Click to expand... This is a community forum. Please don't limit your questions to a single member. localhost points to the local device. It will not work. Search for HttpClient.InitializeAcceptAll.
omidaghakhani1368 Well-Known Member Licensed User Longtime User Feb 21, 2015 #3 https://www.b4x.com/android/forum/threads/use-localhost-server.47606/#content Upvote 0