How can I define the address that swank server sho

2019-04-28 10:06发布

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条回答
劫难
2楼-- · 2019-04-28 10:50

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.

查看更多
登录 后发表回答