access denied (java.net.SocketPermission 127.0.0.1:8080 connect,resolve)

后端 未结 10 1135

I have a Java Applet inserted on a simple HTML page located at http://localhost:8080/index.html:



        
      
      
      
10条回答
  •  無奈伤痛
    2020-12-03 08:59

    See: http://download.oracle.com/javase/tutorial/deployment/applet/security.html

    Unsigned applets can perform the following operations:

    They can make network connections to the host they came from.

    If Java does not resolve the originating system to localhost then the applet will not be able to open sockets.

提交回复
热议问题