Hi,

maybe this is a network question, rather than specific to Qt, but I need to know.
I want to make a TCP server-client connection between two Qt app (one is server, listening, and the other is client, connecting to the IP-port of the server). However, this connection should not only be within a LAN, but also outside of LAN.

For example, from the client, I want to connect to the server with the external IP of the server (not the local IP 192.168. etc, but the real IP) and the port that I choose. If I set my router for port-forwarding, would this be possible? Or in some other way?

Did any one make such directly connection?
Thanks for your help and suggestions.