community.borland.com

Article #25673: The security manager does not allow network connections on port 3060

Problem:
I am using InterClient and I receive the following error message:
"the security manager does not allow network connections on port 3060"

What does this mean?

Solution:
InterClient  versions 1.1 and 1.5

"the security manager does not allow network connections on port 3060"
means you're violating browser security by trying to establish a database
connection to a server which was not the source of the java byte code,
ie. the web server and the interserver host need to be on the same machine
under the normal Netscape security model.  This model can be changed by
signing your applet, or using another JVM which does not enforce the java
security model, or by using the Netscape security api (I forgot what Netscape calls this api).

One common mistake that causes the security error is running an applet
which you think is being downloaded from a web server, but is in fact being
picked up from your local hard driver (ie. classpath).  In this case, since the
byte code is coming from your local disk, you won't be able to make remote
connections using the browser JVM.  Be sure to remove interclient from your
local classpath, or unset your classpath, before starting the client browser,
this way the java byte code for interclient will be downloaded from the web server,
and you'll be able to make a remote connection to an interserver host on that
web server.

Source: Paul Ostler Mers Listserv

Last Modified: 23-OCT-00