Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

Help In Applet

  Asked By: Howard    Date: Apr 14    Category: Java    Views: 406

Can anybody help me to solve this problem?

I am using client and server, 2 pc, ok named as A and B. Now I have
created asp pages for login, update particular, do questionnaires
etc.....and also an applet for selecting data from database and then
display it. I am using mysql database server. The asp pages and
applet is stored in A and the webserver which is the IIS and the
mysql database is also in A.

When I try using local host, it work fine for everything. But when I
use IP to access, it work fine for asp pages but for the applet, it
give me an error.... ERROR: "I'm trying to use MySQL Connector/J in
an applet and I get an exception similar to:
SQLException: Cannot connect to MySQL server on host:3306. Is there a
MySQL server running on the machine/port you are trying to connect
to? (java.security.AccessControlException)

Well for B of course cannot, same error for applet whereas asp pages
no problem. Can anybody help me....I am really lost. All help is



No Answers Found. Be the First, To Post Answer.

Didn't find what you were looking for? Find more on Help In Applet Or get search suggestion and latest updates.