debug-ports-using-netcat.md 554 B

Listen for connections on a port

On the server run netcat to listen for any connections and receive messages on a port:

# verbose verbose listen numeric port 443
netcat -v -v -l -n -p 443

Connect to server

Next connect to the server, to check, whether a firewall blocks the connection:

netcat domain_or_ip_address 443
test

Then test should appear as text output on the server.