Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
[QtNetwork] How to make my server visible outside LAN
Baca48 last edited by
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?
andre last edited by
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.