Vincent11111
Member
Hi i have a problem connecting my jRDC2 connector in my linux server to my b4a app.
In my CentosOS 7
i run my jrdc2
and open my server port using :
sudo iptables -I INPUT -p tcp -m tcp --dport 17170 -j ACCEPT
then
curl http://xxx.xxx.xxx.xx:17170/test
and get an output
RemoteServer is running (03/30/2021 06:22:32)<br/>Connection successful.-sh-4.2$
but when i run through my windows browser i get an error :
This site can’t be reached
xxx.xxx.xxx.xxx took too long to respond.
Try:
and when i run my b4a app i get an error :
ERROR: java.net.SocketTimeoutException: failed to connect to /xxx.xxx.xxx.xxx (port 17170) from /172.16.0.167 (port 37550) after 30000ms
what should i do?
In my CentosOS 7
i run my jrdc2
and open my server port using :
sudo iptables -I INPUT -p tcp -m tcp --dport 17170 -j ACCEPT
then
curl http://xxx.xxx.xxx.xx:17170/test
and get an output
RemoteServer is running (03/30/2021 06:22:32)<br/>Connection successful.-sh-4.2$
but when i run through my windows browser i get an error :
This site can’t be reached
xxx.xxx.xxx.xxx took too long to respond.
Try:
- Checking the connection
- Checking the proxy and the firewall
- Running Windows Network Diagnostics
and when i run my b4a app i get an error :
ERROR: java.net.SocketTimeoutException: failed to connect to /xxx.xxx.xxx.xxx (port 17170) from /172.16.0.167 (port 37550) after 30000ms
what should i do?