如何定义 swank 服务器应该监听的地址?
启动 swank 服务器时没有设置要绑定的地址的参数:
* (describe 'swank:create-server)
=> ...
Lambda-list: (&KEY (PORT DEFAULT-SERVER-PORT)
(STYLE *COMMUNICATION-STYLE*) (DONT-CLOSE *DONT-CLOSE*)
(CODING-SYSTEM *CODING-SYSTEM*))
...
我该怎么做?
There is no argument for setting the address to bind to when starting swank server:
* (describe 'swank:create-server)
=> ...
Lambda-list: (&KEY (PORT DEFAULT-SERVER-PORT)
(STYLE *COMMUNICATION-STYLE*) (DONT-CLOSE *DONT-CLOSE*)
(CODING-SYSTEM *CODING-SYSTEM*))
...
How can I do it?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
将
swank::*loopback-interface*
绑定到包含 swank 服务器 IP 地址的字符串。它默认为 localhost (“127.0.0.1”)。为了安全起见,请注意不要向全世界开放华丽的地址,因为它会使计算机容易受到入侵。如果目标是从另一台计算机访问 swank,最好设置一个安全通道 到 swank 服务器并保留环回接口不变。
Bind
swank::*loopback-interface*
to a string containing the ip address for the swank server. It defaults to the localhost ("127.0.0.1").For security, take care that the swank address is not wide open to the world as it would leave the computer vulnerable for intrusion. If the goal is to access swank from another computer, it might be preferable to rather set up a secure channel to the swank server and leave the loopback-interface as is.