What are port requirements for remote lisp?

Mirko Vukovic <[email protected]> Mon, 30 Mar 2020 21:16:00 -0400
Newsgroups gmane.lisp.slime.devel
Message-ID <CAO73BABOY_p6ig4yZV+SHgK3X5qbNG9iM5JuGDVuuLSt=8G2LA@mail.gmail.com>
--000000000000abdebf05a21c515e
Content-Type: text/plain; charset="UTF-8"

Hello,

My setup is Sly on Spacemacs with Windows 10 running remote lisp on Linux
over a corporate network. I have not found a Sly mailing list, and I hope I
can get an answer here.

Emacs is running Sly on Spacemacs on Windows 10. Lisp is running on a Linux
server. But Sly does not connect to the listening Lisp. Corporate network
security policies have changed. I can ask for IT to accommodate me, but
first I need to know what to ask for.

So far, I have opened a tunnel, and started a listening lisp (details
below).

In Emacs I get:

sly-connect RET RET RET
[sly] Connecting to Slynk on port 4005..
helm-M-x-execute-command: make client process failed: Connection timed out,
:name, sly-9, :buffer, nil, :host, hal9000, :service, 4005, :nowait, nil,
:tls-parameters, nil

The session transcript:
> ssh -L4005:localhost:4005 mirko@hal9000

[mirko@hal9000 .roswell]$ ros -L ccl-bin run --load start-slynk-server.lisp

 Added SLYNK path to ASDF:*CENTRAL-REGISTRY*
SLYNK's ASDF loader finished.
 Loaded ASDF system
;; Slynk started at port: 4005.

 Created SLYNK server on port 4005
 Set *USE-DEDICATED-OUTPUT-STREAM* to NIL
Clozure Common Lisp Version 1.11.5/v1.11.5  (LinuxX8664)

For more information about CCL, please see http://ccl.clozure.com.

CCL is free software.  It is distributed under the terms of the Apache
Licence, Version 2.0.
?

My question is as follows:

   1. Do I need bi-directional traffic on 4005?
   2. Do I need bi-directional traffic on 22? (after recent changes I
   cannot ssh or scp into my Windows machine)
   3. What tools can I use to try to narrow down the cause of the problem?
   For instance, can I send a command to the lisp image, and see its effects
   on the lisp side?

Thank you,

Mirko

--000000000000abdebf05a21c515e
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hello,<div><br></div><div>My setup is Sly on Spacemacs wit=
h Windows 10 running remote lisp on Linux over a corporate network. I have =
not found a Sly mailing list, and I hope I can get an answer here.</div><di=
v><br></div><div>Emacs is running Sly on Spacemacs on Windows 10. Lisp is r=
unning on a Linux server. But Sly does not connect to the listening Lisp. C=
orporate network security policies have changed. I can ask for IT to accomm=
odate=C2=A0me, but first I need to know what to ask for.</div><div><br></di=
v><div>So far, I have opened a tunnel, and started a listening lisp (detail=
s below).=C2=A0</div><div><br></div><div>In Emacs I get:</div><div><br></di=
v><font face=3D"monospace">sly-connect RET RET RET<br>[sly] Connecting to S=
lynk on port 4005..<br>helm-M-x-execute-command: make client process failed=
: Connection timed out, :name, sly-9, :buffer, nil, :host, hal9000, :servic=
e, 4005, :nowait, nil, :tls-parameters, nil</font><br><div>=C2=A0</div><div=
>The session transcript:</div><div><font face=3D"monospace">&gt; ssh -L4005=
:localhost:4005 mirko@hal9000<br><br>[mirko@hal9000 .roswell]$ ros -L ccl-b=
in run --load start-slynk-server.lisp<br><br>=C2=A0Added SLYNK path to ASDF=
:*CENTRAL-REGISTRY*<br>SLYNK&#39;s ASDF loader finished.<br>=C2=A0Loaded AS=
DF system<br>;; Slynk started at port: 4005.<br><br>=C2=A0Created SLYNK ser=
ver on port 4005<br>=C2=A0Set *USE-DEDICATED-OUTPUT-STREAM* to NIL<br>Clozu=
re Common Lisp Version 1.11.5/v1.11.5 =C2=A0(LinuxX8664)<br><br>For more in=
formation about CCL, please see <a href=3D"http://ccl.clozure.com">http://c=
cl.clozure.com</a>.<br><br>CCL is free software.=C2=A0 It is distributed un=
der the terms of the Apache<br>Licence, Version 2.0.<br>?</font><br></div><=
div><font face=3D"monospace"><br></font></div><div><font face=3D"arial, san=
s-serif">My question is as follows:</font></div><div><ol><li><font face=3D"=
arial, sans-serif">Do I need bi-directional traffic on 4005?</font></li><li=
>Do I need bi-directional traffic on 22? (after recent changes I cannot ssh=
 or scp into my Windows machine)</li><li>What tools can I use to try to nar=
row down the cause of the problem? For instance, can I send a command to th=
e lisp image, and see its effects on the lisp side?</li></ol></div><div><fo=
nt face=3D"arial, sans-serif">Thank you,</font></div><div><font face=3D"ari=
al, sans-serif"><br></font></div><div><font face=3D"arial, sans-serif">Mirk=
o</font></div><div><br></div></div>

--000000000000abdebf05a21c515e--