Socket Permission
Posted by: Mustafa Bamboat
Date: December 30, 2004 11:39PM

Hi,

I have created JApplet to create connection with MySQL Database by using correct JDBC Driver, but the problem is that whenever I run my JApplet it will display such an error

"Unable to connect to any hosts due to exception: java.security.AccessControlException: access denied (java.net.SocketPermission 192.168.0.153:3306 connect,resolve)"

Thou, such an application is running very good by JSP/Servlets with same JDBC Driver.

One more thing is that MYSQL Database is running over IP:192.168.0.153 and PORT:3306.

Please let me know the solution of it.

Looking forward to your early response.

Options: ReplyQuote


Subject
Written By
Posted
Socket Permission
December 30, 2004 11:39PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.