DEV Community

jun liu
jun liu

Posted on

Python Network Connectivity Tester: A Simple Tool for sysadmins

Python Network Connectivity Tester

A simple Python script to test network connectivity to multiple endpoints.

What It Does

This tool tests:

  • DNS resolution
  • HTTP connectivity
  • TCP port connectivity

Perfect for quick network troubleshooting on Linux servers.

Installation

Usage

Output Example

Features

  • Pure Python, no external dependencies
  • Cross-platform (Windows, Linux, macOS)
  • Timeout configurable
  • Clean console output with emoji status

Source Code

Full source available on GitHub: network-tester

For more ops guides, visit ops.jiunotes.top


*Share your network troubleshooting stories in the comments!

Top comments (0)