I am trying to understand in detail how java applet security works regarding network connections.
From what I know an applet will only connect to the host it originally came from. Correct?
In the code of the applet, what would i specify as the ipaddress to connect to?
The problem: My server has two ip adrresses: 5.5.5.1 and 5.5.5.2 . 5.5.5.1 is used to listen for web requests on port 80. It is also the location for the java applet for the client.
We want the java server to to listen on 5.5.5.2, port 80. It is on the machine but on a different ip.
Can anyone explain?
From what I know an applet will only connect to the host it originally came from. Correct?
In the code of the applet, what would i specify as the ipaddress to connect to?
The problem: My server has two ip adrresses: 5.5.5.1 and 5.5.5.2 . 5.5.5.1 is used to listen for web requests on port 80. It is also the location for the java applet for the client.
We want the java server to to listen on 5.5.5.2, port 80. It is on the machine but on a different ip.
Can anyone explain?