×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Oct 2009
    Posts
    8

    Error -34 on real device..application works fine on emulator

    Hello All,

    I am developing an application that uses RTP to send data to a server. When I run the application on the emulator, connection establishment is successful and transmission takes place. However, when I run the same application on the real device, connection establishment and I get an error -34. I have disabled the firewall on the system that has the server running. Even then connection establishment fails.

    Could anyone help me resolve this issue?

    Thanks,
    zlixa

  2. #2
    Nokia Developer Moderator
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    28,689

    Re: Error -34 on real device..application works fine on emulator

    Assuming that you are talking about a scenario where the emulator and the server runs on the same PC, it still seems to be a configuration error in your local network. Check once more if your firewall is disabled. You could try accessing other services (if you happen to have a web server on your PC, even a simple one like http://www.java2s.com/Code/Java/Tiny...HttpServer.htm ). If you have an other PC, you could try distributing the emulator+server environment as well - if that does not work, it strengthens the config-error theory.
    And a banal thing: if the emulator and the server runs on the same PC, 127.0.0.1 could be used for connecting - which will definitely not work with the real device.

Similar Threads

  1. SocketConnection not working in nokia emulator, works fine with sun emulator
    By ashish.e71 in forum Mobile Java Networking & Messaging & Security
    Replies: 0
    Last Post: 2009-11-11, 11:51
  2. Replies: 1
    Last Post: 2009-11-04, 21:38
  3. Replies: 4
    Last Post: 2009-06-02, 20:47
  4. 6270 MIDP SocketConnection test work fine on emulator but fail on real phone
    By mtiger2k in forum Mobile Java Networking & Messaging & Security
    Replies: 4
    Last Post: 2008-12-13, 13:06
  5. Replies: 1
    Last Post: 2002-05-16, 19:08

Posting Permissions

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