Check if outbound tcp connection is allowed via connection to portquiz.net
- 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
- https://ngm-dev-s3.s3.eu-central-1.amazonaws.com/tcpping-2023-07-05/linux/tcpping-linux
- https://ngm-dev-s3.s3.eu-central-1.amazonaws.com/tcpping-2023-07-05/macos/tcpping-macos
export PATH="/Applications/tcpping.app/Contents/MacOS:$PATH"
export PORTCHECKER_HOST="microsoft.com"
export PORTCHECKER_PORT="443"
export PORTCHECKER_TIMEOUT_MS="7000"
env | grep PORTCHECKER
tcping
tcping 443
docker run ghcr.io/ngmaibulat/tcping
docker run ghcr.io/ngmaibulat/tcping 443
# 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
docker run ghcr.io/ngmaibulat/tcping 8081
docker run ghcr.io/ngmaibulat/tcping 8082
nc -vz portquiz.net 443