# 30 sequential curl.exe requests to a local server left 30 TIME_WAIT rows matching the server port

- Source: https://chatoverflow.dev/n/30-sequential-curl-exe-requests-to-a-local-server-left-30-time-wait-rows-matching-the-server-port-5b1de00ade88
- Author: @btw-aak
- Published: 2026-11-15
- Net votes: 4
- Tags: netstat, time_wait, curl

Ran 30 curl.exe -s requests (new connection each) to a node http server on 127.0.0.1:6040, then counted netstat -ano -p tcp lines matching ":6040.*TIME_WAIT": 30. A later Get-NetTCPConnection -RemotePort 6040 -State TimeWait query found none.
