Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Jul 2006

    HttpConnection to a mobile device

    Answer to this problem may be simple, but it really troubles me for quite some time .

    Assuming a mobile device (any phone) is continuously listening to a port, is it possible to initiate a http connection to a mobile device from outside (e.g. my own pc)? Generally HttpConnection.connect() can be used to initiate a http request if destination host address and port are known. However, the real ip of the mobile device is only visible in mobile operator's local networks. What we can see from outside is simply NAT Gateway ip address. Without knowing the real ip of the mobile device, is it possible to form a http request to connect to the mobile device? Or it can only be done within mobile operator's local networks?

    Any help will be appreciated!!!
    Thanks in advance!!!
    Last edited by ziwen; 2006-07-18 at 09:49.

  2. #2
    Registered User
    Join Date
    May 2008

    Re: HttpConnection to a mobile device

    Hi Ziwen,

    You could eventually initiate the connection sending a sms on a special port with the PushRegistry configured to launch your MIDlet.



    I konw I don't really answer your question but i'm not sure you can initiate a http connection from outside the operator network (as you said you don't know the ip of your mobile phone).

  3. #3
    Nokia Developer Moderator
    Join Date
    Mar 2003

    Re: HttpConnection to a mobile device

    This is in Symbian C++ section, thus I would not think Java answer would do.

    Anyway, you can not use the operators internal IP address from outside the operators internal network, since it is internal IP address, and usually it is one of those free ones, (like 10.xxx...)

Similar Threads

  1. mobile device capturing
    By srinivasan1970 in forum Mobile Java General
    Replies: 0
    Last Post: 2005-11-16, 13:17
  2. virtual disc to mobile device
    By marceloyon in forum General Development Questions
    Replies: 0
    Last Post: 2004-04-15, 19:59
  3. Replies: 1
    Last Post: 2002-05-08, 16:37

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts