Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

ngmaibulat/java-port-checker

Open more actions menu

Repository files navigation

TCP Ping

Check if outbound tcp connection is allowed via connection to portquiz.net

Install

  • For Macos, use the *.pkg file in install-macos folder here
  • Or, download executable directly from links below
  • Or, use Docker image
  • For Linux, you can use snap package: sudo snap install tcping

Executables

Set Path, when using *.pkg

export PATH="/Applications/tcpping.app/Contents/MacOS:$PATH"

Customize ENV

export PORTCHECKER_HOST="microsoft.com"
export PORTCHECKER_PORT="443"
export PORTCHECKER_TIMEOUT_MS="7000"
env | grep PORTCHECKER

Run via CLI

tcping
tcping 443

Run via Docker

docker run ghcr.io/ngmaibulat/tcping
docker run ghcr.io/ngmaibulat/tcping 443

Use alias for Docker command

# create alias
alias tcping='docker run ghcr.io/ngmaibulat/tcping'

# add alias to bashrc and/or zshrc
echo "alias tcping='docker run ghcr.io/ngmaibulat/tcping'" >> ~/.bashrc
echo "alias tcping='docker run ghcr.io/ngmaibulat/tcping'" >> ~/.zshrc

# reload bashrc and/or zshrc
source ~/.bashrc
source ~/.zshrc

# use
tcping
tcping 443

Check connectivity to Forcepoint Cloud Web Security

docker run ghcr.io/ngmaibulat/tcping 8081
docker run ghcr.io/ngmaibulat/tcping 8082

Other Options

nc -vz portquiz.net 443

Also look at

About

Check if outbound tcp connection is allowed via connection to portquiz.net

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.