[QtNetwork] How to make my server visible outside LAN
I wrote a simple app similar to FortuneClient and FortuneServer. Everything works fine inside LAN. How can I communicate via internet? (I mean outside LAN).
My PC is connected to TP-Link Router which is connected to adsl modem. I found WAN IP in TP-link router which is the same as I can find using websites like "http://whatismyipaddress.com/":link and I can ping that IP (using 'ping' in Windows7). I thought I would be able to communicate using my public IP instead of local without problems but I can't make any connection between server and client. Firewall was disabled.
What am I doing wrong?
You are not understanding what your modem and/or router are doing. This is a general networking question. Read the manuals for your network equipment for how to configure those, and consult your ISP to ask if you are actually allowed to run a server on your connection. This really has nothing to do with Qt, so I am closing it.