# Attaching Java Applet to Sockets Server

Dan Binney (dan.binney@brightware.com)
Tue, 21 Apr 1998 08:59:02 -0400

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Leibman, Alexander B: "Java Security problems"
- Previous message: Default: "Trying to access sockets from an applet"

    Date: Tue, 21 Apr 1998 08:59:02 -0400

    From: Dan Binney <dan.binney@brightware.com>

    To: java-security@web2.javasoft.com

    Subject: Attaching Java Applet to Sockets Server

Unfortunately I sent this message with a default email reply
(default@brightware.com) just a moment ago. Since I may not receive the
reponse, I'm resending my question using my real id.

I'm trying to run a java applet from a browser that accesses a sockets
server application. I'm using it as a demo, so I want to run it
locally. I'm accessing the html file from the local file system on NT.
The sockets server is also on the local machine. I'm using a signed
applet that was signed using the Duke identity and corresponding
certificate. What I would expect netscape to do is to ask me whether
"Duke", or my applet, is trusted. Instead, I see my applet running, I
can interact with it, but when it tries to connect to the socket server,
nothing happens. When I browse the java console, it tells me that the
applet did not have the privilege to connect to the network.

Can you tell me what I'm doing wrong and what I can do to make it work?

Thanks,
Dan Binney

- Next message: Leibman, Alexander B: "Java Security problems"
- Previous message: Default: "Trying to access sockets from an applet"