java.policy
来自「JAVA分布式程序学习的课件(全英文)」· POLICY 代码 · 共 13 行
POLICY
13 行
grant {
// Allows RMI clients to make socket connections to the
// public ports on any host.
// If you start the RMIregistry on a port in this range, you
// will not incur a esolve access violation.
permission java.net.SocketPermission "*:1024-65535",
"connect, accept, resolve";
// Permits socket access to port 80, the default HTTP port -
// needed by client to contact an HTTP server for stub
// downloading.
permission java.net.SocketPermission "*:80", "connect";
};
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?