Results 1 to 20 of 22

Thread: QTcpSocket only works local

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #19
    Join Date
    Aug 2010
    Posts
    26
    Thanks
    4
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QTcpSocket only works local

    Quote Originally Posted by fatjuicymole View Post
    HTTP/FTP/SSH are outbound only. They don't need to be forwarded. Your PC requests the connection. P2P can detect your PC is unreachable and since you connect to lots of other people, rather than people connecting to you, it can inform your PC via a proxy to connect to them. Same with Messenger, which connects to a central hub to relay messages.

    I don't know your router, and so I've no idea how it works. Did you buy it or did it come free from your ISP? The former should be easy to edit the configuration. The later is normally more difficult as ISPs like to lock these things down to stop people from messing with it.

    Either way, you may want to lookup the UPnP architecture. Maybe your router has it enabled. If it is, your P2P/Messenger client is most likely already using it to forward ports to itself.
    My modem is a SmartAX MT880a, my ISP provided it but i have full access to it, but, i'm not going to mess with it so, i have to learn how to (in code) use upnp to forward ports and make my apps works fine, can you point me a start? thanks anyway, you're being a light.

    update:
    I was looking aroung my modem configuration and, upnp is not active, but firewall is. I've gone further, I've runned remote nmap agains me and the results looks weird, like i'm not even up (no ping). I'm afraid of turning off my modem's firewall, what a sad problem
    Last edited by BrainStorm; 8th August 2010 at 23:31.

Similar Threads

  1. Local Status Bar Does Not Update
    By shawno in forum Qt Programming
    Replies: 0
    Last Post: 16th July 2010, 01:34
  2. item local coordinate
    By dreamer in forum Qt Programming
    Replies: 6
    Last Post: 11th May 2008, 22: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, 08:55
  4. Replies: 1
    Last Post: 24th September 2007, 09:02
  5. How to get local IP
    By naresh in forum Qt Programming
    Replies: 11
    Last Post: 17th May 2006, 15: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
  •  
Qt is a trademark of The Qt Company.