Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

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?

like image 918
Paralife Avatar asked May 08 '11 20:05

Paralife


1 Answers

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.

like image 192
Terje Norderhaug Avatar answered Sep 28 '22 05:09

Terje Norderhaug