curl / Mailing Lists / curl-users / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Use curl to check the status/availability of local/remote port(s).

From: Hongyi Zhao via curl-users <>
Date: Mon, 11 Jan 2021 17:13:40 +0800

Say, for checking the availability of telnet server, I can use nc as follows:

$ nc -z hostIP 23

But I want to know if I can do the same job with curl too.

Assoc. Prof. Hongyi Zhao <>
Theory and Simulation of Materials
Hebei Polytechnic University of Science and Technology engineering
NO. 552 North Gangtie Road, Xingtai, China
Received on 2021-01-11