Skip to content

Instantly share code, notes, and snippets.

@XavM
Created June 27, 2023 16:03
Show Gist options
  • Save XavM/eeff855a2c16ae101a17c10c2f53a97f to your computer and use it in GitHub Desktop.
Save XavM/eeff855a2c16ae101a17c10c2f53a97f to your computer and use it in GitHub Desktop.
Listen on port using powershell - Useful to test connectivity
$Listener = [System.Net.Sockets.TcpListener]9999;
$Listener.Start();
#wait, try connect from another PC etc.
$Listener.Stop();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment