Client-server Python app over VPN+SSH


With my machine I have connected to a remote machine. First, I opened a VPN (openVPN) and then I used ssh (ssh -C -X user@
I am doing this all via terminal/cli.

Then, on my local machine, I run a Python server, waiting for a textual message.
On the remote machine, I run the Python client, which sends a simple textual message.

On the local machine I can see via Wireshark that something arrives from the Python client, but the Python client says ‘Connection refused’.

Can anyone tell me how to debug this problem? Maybe I am using the wrong IP address? Which IP address should I use and how to get them?


This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.