B4J Question jRDC and Raspberry

yiankos1

Well-Known Member
Licensed User
Longtime User
Hello i configured jrdc on my rasp and everything works fine if i ping my internal ip: http://192.168.100.89:54021/test. But if i try from the external static ip, i got connection refused. Ip forwarding is configured right to port 54021 and on rasp iptables(firewall) is empty. Do i have to change something on jrdc configuration file in order to access my server from outside?
Thank you for your time.

B4X:
root@raspberrypi:/home/yiankos# netstat -an |grep 54021 |grep LISTEN
tcp6       0      0 :::54021                :::*                    LISTEN

p.s.1 my jrdc.jar file is located at /home/(username)/rdc
p.s.2 if i try (external ip)/phpmyadmin , everything works fine
p.s.3 i see same problem here
 
Last edited:

yiankos1

Well-Known Member
Licensed User
Longtime User
I figured out how to solve this by changing port at configuration file to (8080) and of course port forwarding again. Can someone explain to me why this Jetty server(jRDC) only working on this port (from an outside ip).
 
Upvote 0

yiankos1

Well-Known Member
Licensed User
Longtime User
jServer will work with any available port. The problem is somewhere else.
Server is Working with any port, but i couldn't reach it with external ip
 
Upvote 0
Top