In my recently released AstralCore, I noted that I am having a problem with connecting to the server app that's running on a VPS. (I can use RemoteCore to connect to the server app just fine when it's running on my machine.)
Here is the code you can use to test with the library. Don't worry, the MySQL user is a dummy user that I created so I could post the full code.
The error I receive is this:
Also my firewall is configured to allow for incoming connections to the port. (See screenshot.)
Any ideas?
Here is the code you can use to test with the library. Don't worry, the MySQL user is a dummy user that I created so I could post the full code.
B4X:
Dim TestCore As RemoteCore
TestCore.Initialize(CreateMap("AppHost":"http://45.32.229.216:51020/Action", "CoreHost":"localhost", "CoreName":"RemoteCore", "Username":"B4X", "Password":"b4xforum!@", "EncryptionPassword":"TestPassword"))
TestCore.Put("Test 00001", "First Cloud Put", "Awesome!")
The error I receive is this:
I have no idea why it's removing the "http:/".java.net.ConnectException: Failed to connect to /45.32.229.216:51020
Also my firewall is configured to allow for incoming connections to the port. (See screenshot.)
Any ideas?