i have this code but when i run it i get an exception:
java.security.AccessControlException: access denied (java.net.SocketPermission 127.0.0.1:8081 connect,resolve)
this is the code, the server running good but the client dont work
<OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
width="615" height="360"
codebase="http://java.sun.com/products/plugin/autodl/jinstall-1_4-windows-i586.cab#Version=1,4,0,mn">
<PARAM name="code" value="client/LlamaChat.class">
<PARAM name="archive" value="LlamaChat.jar">
<PARAM name="type" value="application/x-java-applet;version=1.4">
<PARAM name="scriptable" value="true">
<PARAM name="username" value="[replace with username]">
<PARAM name="port" value="[replace with port]">
<COMMENT>
<EMBED type="application/x-java-applet;version=1.4"
width="615" height="360"
code="client/LlamaChat.class" archive="LlamaChat.jar"
pluginspage="http://java.sun.com/j2se/1.4.1/download.html"
username="nis"
port="8081"
<NOEMBED>
No Java 1.4 plugin
</NOEMBED></EMBED>
</COMMENT>
</OBJECT>