# Re: Security exception:couldn't connect

Marianne Mueller (Marianne.Mueller@Eng)
Mon, 8 Jun 1998 15:15:50 -0700 (PDT)

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Sverre H. Huseby: "Please add to the "Using javakey" document..."
- Previous message: Souza, Marise D: "some information required"
- Maybe in reply to: Halil Akteke: "Security exception:couldn't connect"

    Date: Mon, 8 Jun 1998 15:15:50 -0700 (PDT)

    From: Marianne Mueller <Marianne.Mueller@Eng>

    Subject: Re: Security exception:couldn't connect

    To: akteke@bornova.ege.edu.tr, java-security@java0.javasoft.com

> We are running Linux and Apache web server, we have an mSQL database and
> we want to connect to this database using Java applets from Netscape
> Navigator 4.0x. We get an error message. It is as follows:
>
> "Security exception: Couldn't connect to 'localhost' with origin from
> 'local-classpath-classes'."

This message sounds like you are naming the destination
"localhost-classpath-classes." Try referring to the destination that
you want to connect to as "localhost."

more info on how to use SQL with applets is on the Netscape site:

developer.netscape.com/docs/technote/database/sql/index.html
as well as on the Sun site:

java.sun.com/products/jdbc

- Next message: Sverre H. Huseby: "Please add to the "Using javakey" document..."
- Previous message: Souza, Marise D: "some information required"
- Maybe in reply to: Halil Akteke: "Security exception:couldn't connect"