⭐ Command line tool to test port TCP/HTTP protocol connectivity ⭐
The source code for this tool is based on Cloverstd/tcping, which was created by @XiaoXi in Forked in 2021 and continues to be maintained, merging some of the original project code halfway through.
Support for IPv6 comes from a pull request submitted by yuqaf1989 in the original project.
A command line tool to easily test port TCP/HTTP protocol connectivity, written in Golang for Windows, MacOS, Linux, FreeBSD, DragonFly, AIX, illumos, Solaris and x86, amd64, armv5, armv6, armv7, arm64, mips, mipsle, mips64, mips64le, riscv64, ppc64, ppc64le, loong64 processor architectures.
You can find pre-compiled binary executables for applicable systems and architectures in the package repository for this project.
Please compile it yourself or get the executable from the package repository of this project.
You can use this command to test TCP ports:
tcping soraharu.com 443This command will test if the
soraharu.comserver's443port is open or not, if the port number is not specified at the end of the command, the default value of80will be used
You can also test the HTTP service using the following command:
tcping -H soraharu.comor
tcping http://soraharu.comThe above command will test if
http://soraharu.com:80is allowed to connect.
Other help:
You can add the parameter -h or --help after tcping to see how to use it.
tcping -h- The default number of
pings is4. - If no port is specified, the default is
80. - The default time interval for
pingis1s. - The default timeout for
pingis1s.
Open source based on the MIT License license.