niloy / blog

blog raw files
3 stars 1 forks source link

Quickly check if a port is open on Linux #25

Open niloy opened 9 years ago

niloy commented 9 years ago

On Server run nc -l 9443 to run a simple server on port 9443.

On Client, run curl example.com:9443.

The server should display HTTP headers if the port is open.