⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 java.policy

📁 JAVA分布式程序学习的课件(全英文)
💻 POLICY
字号:
grant {
   permission java.net.SocketPermission "*:1099", 
      "connect, accept, resolve";
// This allows RMI clients to contact the RMIRegistry of any host

   permission java.net.SocketPermission "*:1024-65535", 
      "connect, accept, resolve";
// This allows RMI clients to make network connections to the public
// ports on any host
// If you start the RMIregistry on a port in this range, this will help
//  to get around the resolve access violation.

   permission java.net.SocketPermission "localhost:1099", 
      "connect, resolve";
   permission java.net.SocketPermission "129.65.242.5:1024-",
      "connect, accept";

// For some reason it is necessary for some people to have the above
// statements to explicitly allow connection to/from falcon.

   permission java.net.SocketPermission "*:80", 
      "connect";
// This allows connection to the default web server on any host - 
// needed for stub downloading, among other things.
};

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -