×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Regular Contributor
    Join Date
    Sep 2009
    Posts
    353

    Problems while using a J2ME http server.

    Device : 5800XM
    I have a J2ME HTTP server running on my mobile phone listening to a Flash lite app @ port 9090
    The flash lite app keeps polling the server @ 2 sec intervals for any new data. using the address http://127.0.0.1:9090/

    The device is also connected to a private network(Wifi access point) and has a private IP in the range 192.168.x.xxx
    This J2ME http server running on this device may also get requests from external devices connected to the private network in the form http://deviceip:9090/
    However I'm getting problems that the device is hanging up in this situation.
    Am doing the right thing? I mean can a J2ME server serve to serve local as well as external requests on the same port? Or do I need to change the port for both.
    Kindly help me get my understandings right.

  2. #2
    Regular Contributor
    Join Date
    Jan 2008
    Posts
    88

    Re: Problems while using a J2ME http server.

    Hello,
    theoretically-speaking, a socket is defined as "ip address + port", and not for each of one separately. That is, you won't have problems with address/port already bind.

    []'s

Similar Threads

  1. Bluetooth PC Server - Mobile Phone Clients. Bluecove problems?
    By Jossnaz in forum Bluetooth Technology
    Replies: 16
    Last Post: 2010-01-21, 15:34
  2. XML onLoad with background http server problem
    By simonjuric in forum [Archived] Flash Lite on Nokia Devices
    Replies: 5
    Last Post: 2009-06-08, 16:47
  3. multiple flush() not work for j2me httpconnection?
    By tiansun in forum Mobile Java Networking & Messaging & Security
    Replies: 3
    Last Post: 2006-08-15, 18:59
  4. help with j2me games concept
    By angjiyong in forum Mobile Java General
    Replies: 0
    Last Post: 2004-02-02, 19:53
  5. http error to connect to Activ server
    By supriya_nandi in forum WAP Servers
    Replies: 2
    Last Post: 2002-11-06, 09:32

Posting Permissions

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