Hello,
I'm getting the refused msg too.
The server is up and the test in the server
http://127.0.0.1:3036/?method=test shows:
RemoteServer is running (Mon Apr 27 12:42:53 EDT 2015)
Connection successful.
I'm using the port 3036, the firewall has opened this port.
I did the same test in a desktop browser and the device browser and it shows the refused message.
this is my config.properties:
DriverClass=com.mysql.jdbc.Driver
JdbcUrl=jdbc:mysql://localhost/world?characterEncoding=utf8
User=sa
Password=xxx
ServerPort=3036
Debug=true
#commands
sql.create_table=CREATE TABLE animals (\
id INT NOT NULL AUTO_INCREMENT,\
name CHAR(30) NOT NULL,\
image BLOB,\
PRIMARY KEY (id))
sql.insert_animal=INSERT INTO animals VALUES (null, ?,?)
sql.select_animal=SELECT name, image FROM animals WHERE name = ?
This is my c3p0.properties:
c3p0.maxStatements=150
c3p0.maxIdleTime=1800
c3p0.idleConnectionTestPeriod=600
c3p0.checkoutTimeout=60000
c3p0.testConnectionOnCheckout=true
this is a ping from the desktop:
ping 127.0.0.1
Pinging 127.0.0.1 with 32 bytes of data:
Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
Reply from 127.0.0.1: bytes=32 time<1ms TTL=128
Ping statistics for 127.0.0.1:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms
I'm using a Windows 2012 server with MySQL
What else should I setup in the server ? Why is a desktop in the same network rejected/refused by the server ? I think that something in the server is blocking internal / external connection