Wrox Programmer Forums
|
Java Databases Discussion specific to working with Java Databases. For other Java topics, please see related Java forums. For database discussions not specific to Java, please see the Database category.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Java Databases section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 30th, 2004, 03:22 PM
Registered User
 
Join Date: Jul 2003
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default SocketPermission

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.AccessCont********************ception: 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.










Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.