How can I define the address that swank server should listen to?

点点圈 提交于 2019-12-22 05:53:18

问题


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?


回答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").

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.



来源:https://stackoverflow.com/questions/5930230/how-can-i-define-the-address-that-swank-server-should-listen-to

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!