Categories
General

Monitor Network Connections

I developed this monitoring script after repeatedly needing to troubleshoot connectivity issues with Ollama, a local AI model runner. While working with multiple models and clients simultaneously, I needed to quickly identify which connections were active, which ports were being used, and whether connections were properly establishing or terminating. Standard task managers didn’t provide this network-specific detail. This tool offers real-time visibility into exactly which addresses and ports Ollama (or any process) is communicating with, making it significantly easier to diagnose configuration problems, optimize connection handling, and ensure proper network resource utilization without resorting to complex packet sniffers or enterprise monitoring solutions.

Categories
General

10 Questions To Ask About An API

1. Payload Structure

What is the structure of the payload?
Is the payload expected to be in JSON, XML, or another format?
Are there any nested objects or arrays in the payload?