Error when Connecting to Remote Host

Hi,

I am not sure if this post belongs here or in the network section, if I need to repost this in the networks section please let me know!

The problem is when I use an applet to connect to a remote host I get an error.I am am pasting the error below.

Please, advice.

Thanks!

Error:--

Exception while connecting : access denied (java.net.SocketPermission

192.168.2.2:54000 connect,resolve)

Exception in thread "SocketClient"

java.nio.channels.IllegalBlockingModeException

at java.nio.channels.spi.AbstractSelectableChannel.register

(AbstractSelectableChannel.java:172)

at java.nio.channels.SelectableChannel.register

(SelectableChannel.java:254)

at liburbi.net.SocketClient.run(SocketClient.java:310)

at java.lang.Thread.run(Thread.java:613)

[841 byte] By [AiboUsera] at [2007-10-2 21:02:17]
# 1

Try doprivileged in your signed applet.

Signing applets:

http://forum.java.sun.com/thread.jsp?forum=63&thread=524815

second post and reply 18 for the java class file using doprivileged

Still problems?

A Full trace might help us out:

http://forum.java.sun.com/thread.jspa?threadID=656028

harmmeijera at 2007-7-13 23:47:19 > top of Java-index,Security,Signed Applets...