Right now, I have a Windows 2K Adv. Server box running Tomcat. I can load up the web page I've made using the server (i.e. localhost), but when I try to access the webpage from another computer (on my network), I get a SQL error that reads as follows:
I was wondering what this meant, and how I would work around this and fix it.Code:Caught SQLException: Communications link failure due to underlying exception: ** BEGIN NESTED EXCEPTION ** java.net.SocketException MESSAGE: java.security.AccessControlException: access denied (java.net.SocketPermission 127.0.0.1:3306 connect,resolve) STACKTRACE: java.net.SocketException: java.security.AccessControlException: access denied (java.net.SocketPermission 127.0.0.1:3306 connect,resolve) at com.mysql.jdbc.StandardSocketFactory.connect(StandardSocketFactory.java:156) at com.mysql.jdbc.MysqlIO.<init>(MysqlIO.java:284) at com.mysql.jdbc.Connection.createNewIO(Connection.java:2555) at com.mysql.jdbc.Connection.<init>(Connection.java:1485) at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:266) at java.sql.DriverManager.getConnection(Unknown Source) at java.sql.DriverManager.getConnection(Unknown Source) at Operator.init(Operator.java:74) at sun.applet.AppletPanel.run(Unknown Source) at java.lang.Thread.run(Unknown Source) ** END NESTED EXCEPTION **


Reply With Quote


Bookmarks