Logo 
Search:

Java Forum

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds

Socket Permission Error

  Asked By: Kuhaylah    Date: Jul 13    Category: Java    Views: 1069
  

I have an applet that keeps giving me the bellow error
when I would like to have a Socket connection created
to a computer that acts as a host.

The host has a ServerSocket within an application
which should be able to be accessed from
within the network.

Anyone have any tips for me?

Share: 

 

1 Answer Found

 
Answer #1    Answered By: James Evans     Answered On: Jul 13

Applets can normally only open a socket  back to the server from which the applet
originated. This leaves you with two
options:

1.) Connect to a servlet or other process on the originating server and have
that process connect to the socket.
Essentially the servlet or other process becomes a proxy.

2.) Sign your applet.

 
Didn't find what you were looking for? Find more on Socket Permission Error Or get search suggestion and latest updates.




Tagged: