Results 1 to 2 of 2

Thread: Connecting to QTcpServer in local network from outside of it

  1. #1
    Join Date
    Sep 2008
    Location
    Poland
    Posts
    80
    Thanks
    4
    Thanked 5 Times in 4 Posts
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Windows

    Default Connecting to QTcpServer in local network from outside of it

    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?

  2. #2
    Join Date
    Nov 2009
    Posts
    9
    Thanks
    11
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Connecting to QTcpServer in local network from outside of it

    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.

Similar Threads

  1. Replies: 4
    Last Post: 23rd May 2008, 10:42
  2. Replies: 1
    Last Post: 9th May 2008, 15:49
  3. How to get and set local ip in windows xp using QT?
    By longtrue in forum Qt Programming
    Replies: 0
    Last Post: 5th May 2008, 09:55
  4. Replies: 1
    Last Post: 18th June 2006, 11:12
  5. How to get local IP
    By naresh in forum Qt Programming
    Replies: 11
    Last Post: 17th May 2006, 16:48

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.