I rented a cloud database, so my database and JRDC are located in different servers. I can connect to my cloud database using Navicat, but I can't connect to the WEBSITE using JRDC, I don't know what the problem is.
I changed the JdbcUrl of the config file to < database external IP >: database port number/database name
I will now change it to:
< database external IP > : 17178 /test
Don't know if the format is correct?
So I want to ask you if my format is correct:
http://XXX (database external IP) : 17178 (this Java server port number does not change?) /test
It turned out to be so, I have been misunderstood, thank you! However, it shows that The RemoteServer is running (05/31/2022 14:55:56)
Error fetching connection.There must still be something wrong...
Ok, then we know the jRDC2 server is running, but there's a problem connecting to your database.
Post your config.properties (hiding the sensitive data), your database type (ms sql, mysql, ...)
Maybe useful to see how you've set up Navicat to connect your database.
It turned out to be so, I have been misunderstood, thank you! However, it shows that The RemoteServer is running (05/31/2022 14:55:56)
Error fetching connection.There must still be something wrong...