×

Discussion Board

Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    May 2006
    Posts
    14

    Red face why can't I connect the server on s60?

    hpc = (HttpConnection)Connector.open("www.text.com/login/ServletURL");

    I use the statement above on sonyEricsson and WTK2.2 successfully, but can not work on s60;

    It appear error"SymbianOS error = -5105";

    Some artical said that some nokia need cmwap agent to connect to internet.

    Changed the statement as following:

    hpc = (HttpConnection)Connector.open("http://10.0.0.172/"+"login/ServletURL");

    hpc.setRequestProperty("X-Online-Host","www.text.com");

    But It didn't work also.

    I have no idea to find other ways to deal with it !!

    Help me, pleases !!

    Thank you very much
    Last edited by onlymengmei; 2006-06-08 at 09:12.

  2. #2
    Registered User
    Join Date
    Mar 2003
    Location
    Sweden, Stockholm
    Posts
    90

    Re: why can I connect the server on s60?

    Hi,
    I did like this:
    http = (HttpConnection) Connector.open("http://www.xyz.com:80/rps/FrontControllerServlet?requestType=login&userName=martin&password=38721175");
    http.setRequestMethod(HttpConnection.GET);

    It works on a Nokea E61
    Regards,
    Ove

  3. #3
    Registered User
    Join Date
    May 2006
    Posts
    14

    Red face Re: why can I connect the server on s60?

    It did not work!!

    Maybe there is something wrong with S60 emulator,because I can access to internet with the same URL on brower and sonyEricK700

    But I have no idea to find ways to deal with it!!

Similar Threads

  1. 6630 S60: Browser is unable to connect to local http server
    By schulze.holger in forum Mobile Java Networking & Messaging & Security
    Replies: 0
    Last Post: 2006-05-24, 06:37
  2. connect to a server through LAN
    By mahfuz_tan in forum Symbian Networking & Messaging (Closed)
    Replies: 8
    Last Post: 2006-02-09, 17:24
  3. does anybody ever establish TCP or UDP from a nokia 6600 or other S60 to a server?
    By regisdeau in forum Mobile Java Networking & Messaging & Security
    Replies: 0
    Last Post: 2004-09-07, 12:16
  4. Why couldn't I connect with my web server when the GW have changed ?
    By roamer7709 in forum Mobile Java Networking & Messaging & Security
    Replies: 1
    Last Post: 2004-05-18, 08:21
  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
  •  
×