Skip to content

yanranxiaoxi/TCPing

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

English | 简体中文

TCPing

⭐ Command line tool to test port TCP/HTTP protocol connectivity ⭐

pipeline status Latest Release

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.

🤔 What is this

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.

🍭 Instructions for Use

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 443

This command will test if the soraharu.com server's 443 port is open or not, if the port number is not specified at the end of the command, the default value of 80 will be used

You can also test the HTTP service using the following command:

tcping -H soraharu.com

or

tcping http://soraharu.com

The above command will test if http://soraharu.com:80 is allowed to connect.

Other help:

You can add the parameter -h or --help after tcping to see how to use it.

tcping -h

🏃 Default Parameters

  • The default number of pings is 4.
  • If no port is specified, the default is 80.
  • The default time interval for ping is 1s.
  • The default timeout for ping is 1s.

📜 Open Source License

Open source based on the MIT License license.

About

Command line tool to test port TCP/HTTP protocol connectivity

Topics

Resources

License

Stars

Watchers

Forks

Languages