Android Question Bluhost VPS + RDC

achtrade

Active Member
Licensed User
Longtime User
I just purchased a VPS with Bluhost.com now I need to install the RDC server there but I have no idea where to start.

someone has a little tutorial or a place where I can learn how to setup this?
 

achtrade

Active Member
Licensed User
Longtime User
someone can teach me how to install java and setup a RDC-Server in my bluhost.com vps ? I'm willing to pay for it

The mysql db is already setup.
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
You shouldn't have made three duplicate posts for this.

Lets start with Java. You do not need to install Java. Only to extract the files. You need to download the Java tar file (for linux) to your PC: https://java.com/en/download/manual.jsp
Upload it to your linux and extract it.

Now copy RDC files to your linux. The command to start it is similar to RunRDC.bat command. You need to replace the semi-colons with colons.
 
Upvote 0

achtrade

Active Member
Licensed User
Longtime User
You shouldn't have made three duplicate posts for this.

Lets start with Java. You do not need to install Java. Only to extract the files. You need to download the Java tar file (for linux) to your PC: https://java.com/en/download/manual.jsp
Upload it to your linux and extract it.

Now copy RDC files to your linux. The command to start it is similar to RunRDC.bat command. You need to replace the semi-colons with colons.
sorry for that, but I'm running out of time and I don't want that my app goes offline.

I'll try this

thanks.
 
Upvote 0

achtrade

Active Member
Licensed User
Longtime User
What do these errors mean ?


my config.properties:
DriverClass=com.mysql.jdbc.Driver
JdbcUrl=jdbc:mysql://127.0.0.1:3306/xxxxx99?characterEncoding=utf8

User=xxx
Password=xxx
ServerPort=17178
Debug=true

#commands
 

Attachments

  • error-rdc.jpg
    error-rdc.jpg
    122.6 KB · Views: 124
  • error-rdc2.jpg
    error-rdc2.jpg
    15.4 KB · Views: 144
Last edited:
Upvote 0

achtrade

Active Member
Licensed User
Longtime User
this is my c3p0

c3p0.maxStatements=150
c3p0.maxIdleTime=1800
c3p0.idleConnectionTestPeriod=600
c3p0.checkoutTimeout=60000
c3p0.testConnectionOnCheckout=true
 
Upvote 0

achtrade

Active Member
Licensed User
Longtime User
MySql is running 3888, I don't know why, see pic.

I changed my config to this

JdbcUrl=jdbc:mysql://127.0.0.1/xxxxx99?characterEncoding=utf8

and this

JdbcUrl=jdbc:mysql://127.0.0.1:3888/xxxxx99?characterEncoding=utf8

and this

JdbcUrl=jdbc:mysql://localhost/xxxxx99?characterEncoding=utf8

and I got the same error

User and password double checked, they are ok, I'm connected to mysql with workbench without problem, but the WB is using the port 3306

any another idea ?
 

Attachments

  • error-rdc.jpg
    error-rdc.jpg
    10.7 KB · Views: 124
Upvote 0

achtrade

Active Member
Licensed User
Longtime User
Also, I tried to access the db using ssh

mysql -u username -p databasename

The connection was successful
 

Attachments

  • error-rdc.jpg
    error-rdc.jpg
    37.7 KB · Views: 124
Upvote 0

achtrade

Active Member
Licensed User
Longtime User
What does this mean ? what is the correct port and ip ?
 

Attachments

  • error-rdc.jpg
    error-rdc.jpg
    11 KB · Views: 122
Last edited:
Upvote 0

achtrade

Active Member
Licensed User
Longtime User
One more question: how can I check if my port 17178 is opened from outside ? if is not open, How can I open it ?

I'm using WHM and I added the port 17178 here "Allow incoming TCP ports" and here "Allow outgoing TCP ports" and here "Allow incoming UDP ports" and here "Allow outgoing UDP ports"
and then I restarted csf+lfd
 
Upvote 0

achtrade

Active Member
Licensed User
Longtime User
it says:

HTTP request set; waiting for response

and then:

RemoteServer is running
java.sql.sqlexception: connections could not be acquired from the underlying database!
 
Upvote 0

achtrade

Active Member
Licensed User
Longtime User
This means that the firewall is configured properly.

The problem is between RDC and the database server. Hard to say what is the problem without access to the server.
I can give you access to my server
 
Upvote 0
Top