.listen (listen on a port and wait for the debugger to connect)
Description of the '.listen' command in HyperDbg.
.listen [Port (decimal)]
Listens for the debugger to connect to this computer (works as a guest debuggee server).
If you don't specify the port, then HyperDbg uses the default port, which is 50000; however, you can change the default port if you compile the HyperDbg.
[Port (decimal)] (optional)
The port address that the remote debugger listens on it.
The following command enables a server and listens on a port (by default 50000), and waits for a debugger to connect to it.
The following command enables a server and listens on port 50001, and waits for a debugger to connect to it.
HyperDbg> .listen 50001
This command provides a target debuggee server (guest server), and the host (debugger) will connect to this server by using the '.connect' command.