Results 1 to 8 of 8

Thread: I cannot connect with server

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Nov 2012
    Posts
    232
    Platforms
    Windows Android
    Thanks
    118
    Thanked 18 Times in 10 Posts

    Default Re: I cannot connect with server

    > What kind of ip address? Do you understand what it points to?

    I do not understand. It's new for me. How to know this ip address?

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts

    Default Re: I cannot connect with server

    You probably want to connect to 127.0.0.1, usually one of the addresses associated with the system's loopback device.

    Since you listen to "any address" this one should be one of them.

    0.0.0.0 is sometimes used to mean "any address" in the context of listening on a server socket or binding a receiving UDP socket. It is never used as an address for connecting to a server.

    Cheers,
    _

  3. The following user says thank you to anda_skoa for this useful post:

    8Observer8 (14th August 2013)

  4. #3
    Join Date
    Nov 2012
    Posts
    232
    Platforms
    Windows Android
    Thanks
    118
    Thanked 18 Times in 10 Posts

    Default Re: I cannot connect with server

    Quote Originally Posted by anda_skoa View Post
    You probably want to connect to 127.0.0.1, usually one of the addresses associated with the system's loopback device.

    Since you listen to "any address" this one should be one of them.

    0.0.0.0 is sometimes used to mean "any address" in the context of listening on a server socket or binding a receiving UDP socket. It is never used as an address for connecting to a server.

    Cheers,
    _
    Thank you very much!

    Author used it in the video. How did I not notice...

    30.png

Similar Threads

  1. Connect to a web server
    By sliverTwist in forum Newbie
    Replies: 7
    Last Post: 25th February 2013, 08:19
  2. Connect To Sql Server With QT
    By METEOR7 in forum Qt Programming
    Replies: 6
    Last Post: 13th December 2011, 12:39
  3. program cannot connect to X server
    By Wazman in forum Qt Programming
    Replies: 3
    Last Post: 1st September 2009, 19:28
  4. cannot connect to X server
    By jcr in forum Qt Programming
    Replies: 1
    Last Post: 18th April 2007, 14:22
  5. connect to sql server
    By raphaelf in forum Qt Programming
    Replies: 15
    Last Post: 27th February 2006, 18:06

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.