×

Discussion Board

Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Jun 2006
    Posts
    7

    a question about Socket.

    hi all,
    I'm newer about the j2me development and knew little about socket.I want to know why the following sentence can't connect to the server;
    SocketConnection sc = (SocketConnection)Connector.open("socket://java.sun.com:80");
    it always throw a exception:Target port denied to untrusted application.
    Thanks for your help.

  2. #2
    Registered User
    Join Date
    Jun 2006
    Posts
    7

    Re: a question about Socket.

    I know the answer, becasue my computer set wrong subnet mask.

Similar Threads

  1. Socket question
    By Larry101 in forum Symbian
    Replies: 3
    Last Post: 2006-04-10, 19:08
  2. question about socket, please help me!
    By yizhong in forum Symbian Networking & Messaging (Closed)
    Replies: 0
    Last Post: 2006-03-18, 19:29
  3. problem in persistant socket connection
    By poms4symbian in forum Browsing and Mark-ups
    Replies: 0
    Last Post: 2006-01-03, 13:23
  4. Socket problem
    By defragger in forum Symbian
    Replies: 0
    Last Post: 2005-08-25, 08:16
  5. Question about socket
    By bt11 in forum Bluetooth Technology
    Replies: 0
    Last Post: 2004-06-07, 11:22

Posting Permissions

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