Android Question JRDC connection Error

amarnath

Member
Licensed User
Longtime User
Config file

#DATABASE CONFIGURATION
DriverClass=com.mysql.jdbc.Driver
JdbcUrl=jdbc:mysql://localhost/dairychairman?charactereEncoding=utf8
User=root
Password=
#Java server port
ServerPort=17178
---------------------
I have use this jar file
#AdditionalJar: mysql-connector-java-5.1.34-bin


PackageAdded: package:b4a.example
*** Service (starter) Create ***
** Service (starter) Start **
** Activity (main) Create (first time) **
Call B4XPages.GetManager.LogEvents = True to enable logging B4XPages events.
*** Receiver (httputils2service) Receive (first time) ***
** Activity (main) Resume **

ResponseError. Reason: java.net.UnknownServiceException: CLEARTEXT communication to 192.168.38.229 not permitted by network security policy, Response:
ERROR: java.net.UnknownServiceException: CLEARTEXT communication to 192.168.38.229 not permitted by network security policy
 

Attachments

  • jserver.png
    jserver.png
    36.3 KB · Views: 33
  • local.png
    local.png
    18.8 KB · Views: 32
Top