This commit is contained in:
julien
2025-01-10 19:32:01 +01:00
parent df88ae3580
commit a70ebeda5c
2 changed files with 19 additions and 0 deletions

18
network-tricks.md Normal file
View File

@@ -0,0 +1,18 @@
# Network tricks
## Check if a port is reachable
On the server :
```
# nc -l <your_port>
```
On a client machine :
```
$ nc -zv <server_ip> <your_port>
```
Or to check UDP port :
```
$ nc -zv -u <server_ip> <your_port>
```