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

后端 未结 10 1138

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



        
      
      
      
10条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-03 09:02

    Update from @Kristian above saved my day.

    I had access denied (java.net.SocketPermission : connect,resolve) from an applet in a web application.

    There had been change in our DNS, such that the IP of the load-balancer of the application server was not resolving to a name with domain. Therefore the suspected "cross-domain connection" from applet back to server was blocked. I added crossdomain.xml with

    to /webapps and checked that it is accessible with http://:/crossdomain.xml

提交回复
热议问题