nc -v

From wikieduonline
Jump to navigation Jump to search

nc -v 10.11.3.236 5432
Ncat: Version 7.50 ( https://nmap.org/ncat )
Ncat: Connected to 10.11.3.236:5432.
nc -v 10.11.3.236 5433
Ncat: Version 7.50 ( https://nmap.org/ncat )
Ncat: Connection timed out.


nc -v localhost 8332
Ncat: Version 7.50 ( https://nmap.org/ncat )
Ncat: Connected to 127.0.0.1:8332.
 
 HTTP/1.1 400 Bad Request
 Content-Type: text/html
 Connection: close
 Date: Wed, 31 May 2023 07:06:33 GMT
 Content-Length: 94
 
 <HTML><HEAD>
 <TITLE>400 Bad Request</TITLE>
 </HEAD><BODY>
 <H1>Bad Request</H1>
 </BODY></HTML>

Related[edit]

  • nping
  • nc -zv specifies that nc should just scan for listening daemons, without sending any data to them

See also[edit]

Advertising: