Skip to content

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

Notifications You must be signed in to change notification settings

ngmaibulat/java-port-checker

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

Packages

 
 
 

Languages