本文介绍了如何定义swank服务器应侦听的地址?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

没有参数可用于设置启动swank服务器时要绑定的地址:

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*))

...

我该怎么办?

推荐答案

swank::*loopback-interface* 绑定到包含swank服务器ip地址的字符串.它默认为 localhost ("127.0.0.1").

Bind swank::*loopback-interface* to a string containing the ip address for the swank server. It defaults to the localhost ("127.0.0.1").

为了安全起见,请注意,swank地址不会向世界公开,因为它会使计算机容易受到入侵.如果目标是从另一台计算机访问swank,则最好设置一个安全通道到swank服务器,并保持环回接口不变.

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.

这篇关于如何定义swank服务器应侦听的地址?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-18 10:44