Results 1 to 4 of 4

Thread: QServer auto disconnect my client. (With remote access)

  1. #1

    Default QServer auto disconnect my client. (With remote access)

    Hi, I want to access from a remote client to a server.
    I use no-ip for dynamic ip name resolution.

    Qt Code:
    1. socket->connectToHostEncrypted("*********", 443);
    To copy to clipboard, switch view to plain text mode 

    I've redirected the port 443 to the server's port on my box and configured the firewalls on my box and on the server to accept connections on the ports.

    The client is connected but after a few seconds, the client is automatically disconnected from the server.

    So I can't send any messages to the server.

    But in local it works without any problem.

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: QServer auto disconnect my client. (With remote access)

    What happens with the QSslSocket error(), peerVerifyError() and sslErrors() signals?

  3. #3

    Default Re: QServer auto disconnect my client. (With remote access)

    Nothing. :/

  4. #4

    Default Re: QServer auto disconnect my client. (With remote access)

    I'm trying to connect from another network. (Because from the same network it doesn't work)

    But this time on a windows 7 client.

    But it fails to load the key of the client. (client-key.pem)

Similar Threads

  1. Remote access to Qt GUI
    By nejatafshar in forum Newbie
    Replies: 2
    Last Post: 29th November 2013, 07:57
  2. can qt access remote database?
    By stmk in forum Newbie
    Replies: 5
    Last Post: 5th November 2012, 17:52
  3. How to access remote Database?
    By Qt_Kid in forum Newbie
    Replies: 3
    Last Post: 12th May 2011, 11:17
  4. Remote Device Access
    By Guilo in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 14th June 2010, 15:33
  5. auto-disconnect in ~QGraphicsItem?
    By Lykurg in forum Qt Programming
    Replies: 2
    Last Post: 22nd July 2008, 08:14

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.