Hi Everyone!
I'm testing on my lap with xampp this example :https://www.b4x.com/android/forum/threads/mysql-data-to-webview-using-php.104274/#content of Mashiane. I've modified the php file on the project with my local ip
it is port 84 because there is working my Xampp. I've changed several parameters, as "localhost" with 127.0.0.1 in the php file and also on the main module, I've also changed php file behind the project and php file in htdoc folder too but it can't connect
Anybody knows what or where is the mistake? Thank you so much
Log Error:
Here are the project and my Xampp htdoc folder
I'm testing on my lap with xampp this example :https://www.b4x.com/android/forum/threads/mysql-data-to-webview-using-php.104274/#content of Mashiane. I've modified the php file on the project with my local ip
B4X:
<?php
$servername = "localhost:84";
$dbname = "phplogin";
$username ="root";
etc..
it is port 84 because there is working my Xampp. I've changed several parameters, as "localhost" with 127.0.0.1 in the php file and also on the main module, I've also changed php file behind the project and php file in htdoc folder too but it can't connect
Anybody knows what or where is the mistake? Thank you so much
Log Error:
B4X:
ResponseError. Reason: java.net.ConnectException: Failed to connect to localhost/127.0.0.1:84, Response:
B4X:
java.net.ConnectException: Failed to connect to localhost/127.0.0.1:84
Here are the project and my Xampp htdoc folder
Attachments
Last edited: