doc
This commit is contained in:
18
network-tricks.md
Normal file
18
network-tricks.md
Normal 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>
|
||||
```
|
Reference in New Issue
Block a user