malvika Pandit

Greenhorn
+ Follow
since Nov 17, 2008
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by malvika Pandit

Hi all,

I am writing an applet that communicates with a servlet.
My program works fine when I run on local host. However when I run on remote machine by giving its IP address in applet.It gives following error

java.security.AccessControl Exception access denied(java.net.socket permission 192.168.1.39 conect,resolve)
here 192.168.1.39 is the IP address of remote client on LAN.
I changed the java.policy file socketpermission to all listen,connect,accept,resolve. But the problem remains same.
Whats the solution for this?
I use tomcat server(8080 port)
Please help.
15 years ago
Hi Everyone
I am writing a client-server program using Java applet-servlet repectively
I use URLConnection con = urlServlet.openConnection(); for the connection

My program works well on local host, however when I try on LAN ie on remote host it gives java.security.AccessControl Exception Socket Permission denied to 192.168.2.55(remote host) (connect, resolve)

I have changed the java.policy file socketpermission to listen,accept,connect,resolve
But this problem is still there.
What is the solution to this?
Please help.
Thanks
Malvika