Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-16843

Symbian - Qt don't recognize 127.0.0.1 as local connection

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P2: Important
    • 4.8.0
    • 4.7.1
    • Network
    • None
    • Symbian S60 5th edition / Nokia 5530

    Description

      I am trying to connect to local server at my phone. Local server here is, for instance, API Bridge
      http://wiki.forum.nokia.com/index.php/APIBridge_Web_Runtime_API

      It is located at 127.0.0.1:9080 by default. I tried to connect to it at my Symbian phone through QtWebKit (XMLHttpRequest) and also by native QHttp and so on. But when Qt at phone is connecting to 127.0.0.1, it calls native Symbian dialog window where I should choose connection, which will be used to reach 127.0.0.1. That is WRONG, because it is a local connection. By the way, if i chose my wi-fi network it still don't work - I got 404 error, may be because it tries to find 127.0.0.1 in my router network.

      App is signed by Ovi Store, has it's UID and they were stated in Qt project.

      QT += core \
      gui \
      webkit \
      network

      TARGET.CAPABILITY = NetworkServices\
      LocalServices\
      ReadUserData\
      WriteUserData\
      ReadDeviceData\
      WriteDeviceData

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              shkearns Shane Kearns
              vivacity vivacity
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes