Hi,
On my Raspberry runs a b4J program (server application) that listens to port 40000.
On my smartphone runs a b4a program that should connect to the Raspberry:
a) using the LAN address of the Raspberry and the port number 40000, that works perfectly.
b) using the WAN IP address of my internet connection and port 40000. Whatever I try, no connection is established.
The two programs exchange simple text strings, no command or whatoever.
On my router I have defined port forwarding for port 40000 to the LAN address of the Raspberry.
Checking it from the outside, the port indeed is open.
On internet I read a lot about SSH:
Do I need it? There is no security issue about the data exchanged.
It seems to be enabled by default on te raspberry.
If one side is using SSH , should the other side then use it as well?
I think other programs are using SSH, like Win SCP. Disabling SSH on the Raspberry would be inconvenient, but acceptable.
If neccessary, how to combine SSH with b4A?
Or does another reason prevent connection, not related to SSH
Who can show me the direction to go?
Harry
On my Raspberry runs a b4J program (server application) that listens to port 40000.
On my smartphone runs a b4a program that should connect to the Raspberry:
a) using the LAN address of the Raspberry and the port number 40000, that works perfectly.
b) using the WAN IP address of my internet connection and port 40000. Whatever I try, no connection is established.
The two programs exchange simple text strings, no command or whatoever.
On my router I have defined port forwarding for port 40000 to the LAN address of the Raspberry.
Checking it from the outside, the port indeed is open.
On internet I read a lot about SSH:
Do I need it? There is no security issue about the data exchanged.
It seems to be enabled by default on te raspberry.
If one side is using SSH , should the other side then use it as well?
I think other programs are using SSH, like Win SCP. Disabling SSH on the Raspberry would be inconvenient, but acceptable.
If neccessary, how to combine SSH with b4A?
Or does another reason prevent connection, not related to SSH
Who can show me the direction to go?
Harry
Last edited: