IP Reachability Checker
A dependency-free Python CLI for IPv4/IPv6 ICMP or single-port TCP reachability. Real checks originate from the machine running Python and its network: home, corporate, VPN and remote-server routes can differ. The static product website performs no probes.
Real checks run locally, from the computer executing Python and its network. The product website has no sockets, ICMP requests, browser network probe or remote diagnostics backend.
Product capabilities
A focused tool designed to run in your environment.
The independent site documents a bounded Python CLI. Install and run it on the machine whose connectivity you want to evaluate; this page and GitHub Pages perform no probes.
- 01Validate literal IPv4/IPv6 input with up to 256 unique targets
- 02Run cross-platform ICMP or a single selected TCP port with bounded timeouts
- 03Stream bounded UTF-8 files with up to 32 concurrent workers
- 04Return text/JSON and automation exit codes 0, 1, 2 and 130
Operating workflow
Choose the origin. Run locally. Interpret the signal.
Configuration and execution happen in your own environment. Review the project README and security guidance before enabling integrations.
- 01Install Python on the machine whose network you need to check
- 02Supply explicit authorized IP literals and choose ICMP or one TCP port
- 03Run the command from that machine, accounting for VPN and firewall policy
- 04Interpret the status, overall duration and exit code with their documented limits
Local installation
Run the real software in an environment you control.
These steps reflect the repository's public setup documentation. Review its README for platform-specific details and the latest operational guidance.
Prerequisites
- Python 3.10+ and Git; no third-party runtime dependencies
- OS ping utility on PATH for ICMP; TCP uses the Python standard library
- Run on the machine and network whose connectivity you intend to evaluate
Setup outline
git clone https://github.com/AlirezaBelal/ip-reachability-checker.gitcd ip-reachability-checkerpython ip_reachability_checker.py 127.0.0.1 --count 1python ip_reachability_checker.py 127.0.0.1 --tcp-port 8000
- Windows may use py -3; macOS/Linux may use python3. Confirm Python 3.10 or newer.
- Loopback 127.0.0.1 and ::1 refer to the machine executing Python. TCP port 8000 needs an actual listener.
- Corporate firewalls, VPN routing and remote servers can produce different results. Success on one device does not guarantee reachability on another.
- Use only authorized explicit targets. No DNS, CIDR or multi-port scanning.
Scope & trust
Your machine. Your network perspective.
Real checks run locally, from the computer executing Python and its network. The product website has no sockets, ICMP requests, browser network probe or remote diagnostics backend.
- This website does not probe IP addresses or report current reachability
- ICMP can be blocked while a host remains operational; TCP success describes only the chosen connection
- Failure does not uniquely identify its cause; remote-server results do not measure your laptop
- Historical latency_ms measures overall check duration for ICMP, not packet RTT
Run it in your environment
Check connectivity from where you actually work.
Install Python and run from your own machine. VPN, corporate routing and remote-server environments can change the result; the website never executes a probe.
