Android Question jRDC2 - Java Server Port

Q Candiani

Member
Licensed User
Longtime User
Hello, I am working on an application in B4A. This application consumes information from PostgreSQL DB hosted on a remote Ubuntu server. Use Tomcat I use the jRDC connection but, when I try to test the connection to the server, I do not know how to properly configure the java server port (config.properties). I have replicated the database on localhost, tested the jRDC connection and it works fine. I think the problem is with the java port server. By default, it is set to 17178. What does this value depend on? What value does it take on a server? The ports enabled on the server are: 53102 for DB PostgreSQL 53103 for webApp Django 53106 for TomCat Can someone help me better understand this? Thank you
 

DaGunster

Member
Licensed User
PostgreSQL DB on a 'remote' server? How remote? Is it in the domain? You typically want the database server locked down and have an application server in front of it serving the data via a web service.
jRDC or JDBC?
Tomcat typically runs on port 8080. You can confirm this by looking at the server.xml file in the \conf\ folder. You would have to open this port in the firewall.
 
Upvote 0

DonManfred

Expert
Licensed User
Longtime User
What does this value depend on?
If you are talking about jRDC2. This is the port which you use to connect to the RDC. The port must be accessible. Just just the default.
The port is not related to PostgreSQL, Django or TomCat.
In the jRDC2 Config you do define the connection to the Database (jRDC2 is the Middleware) including the port to the Database in the JDBC Connection line.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…