PDA

View Full Version : Connecting to QTcpServer in local network from outside of it



MasterBLB
6th April 2010, 17:28
Hi Brothers

I wrote a simple QTcpServer and ran it on 192.168.0.167 in a local network connected to interned by a router with address 89.72.31.49.
My question is-how to connect to that server from a remonte client somewhere in internet based on QTcpSocket?:confused:

berzasnon
19th April 2010, 00:47
I think that yours is not a Qt related question, but anyway... You should configure NAT on your router, so the connections to 89.72.31.49:server's port are redirected to 192.168.0.167:server's port.