9 messages in com.mysql.lists.javaRe: Connection from an applet
FromSent OnAttachments
Sohaila Roberts13 Nov 2001 17:17 
Yiu Wing13 Nov 2001 22:55 
Røman Olshansky14 Nov 2001 07:44 
Chris Gerrist14 Nov 2001 12:56 
Chris Gerrist14 Nov 2001 13:51 
Igor Fedulov14 Nov 2001 14:46 
Yiu Wing14 Nov 2001 21:32 
Yiu Wing14 Nov 2001 21:40 
Yiu Wing14 Nov 2001 21:57 
Subject:Re: Connection from an applet
From:Igor Fedulov (ifed@outlook.net)
Date:11/14/2001 02:46:28 PM
List:com.mysql.lists.java

Cannot connect to MySQL server on 137.111.111.111:3306. Is there a MySQL server running on the machine/port you are trying to connect to? (java.security.AccessControlException)

SecurityManager allows connections only to the machine from which you downloaded applet. If your database and your webserver is on the same machine but it have 2 or more IPs then both webserver and mysql have to listen on the same physical IP address or listen on 0.0.0.0. thus you can't connect to remote server which IP is different then IP of the webserver you downloaded the applet from.

Best regards,