WHATPORT(4005) whatport.net WHATPORT(4005)
4005

SWANK (SLIME Lisp backend)

A Common Lisp SWANK server — a full remote REPL into a running Lisp image, usually with no authentication.

TCP IANA registry

Description

IANA registers 4005 as pxc-pin, but in practice this is the default port of SWANK, the backend that SLIME loads into a Common Lisp image so Emacs can drive it. A developer runs (swank:create-server) or starts a Lisp with SWANK loaded, then connects from Emacs with M-x slime-connect. Anything that can speak the SWANK protocol to that port can evaluate arbitrary Lisp inside the process, which is the whole point of the tool and also its entire risk profile.

Exposed to the internet?

Do not expose

SWANK is remote code execution by design and ships with no authentication; bind it to 127.0.0.1 and reach it over an SSH tunnel.

Check it yourself

$ nc -vz -w 3 TARGET 4005

See also

Seen this on your network? Beige Box scans your Wi-Fi and shows every open port on every device — and its Ports tool links straight back here.

Get Beige Box →

also available as JSON · Markdown

Corrections or a missing port? Reply @rimrocksystems.