# Networking: PING: transmit failed. General failure. / ping: sendmsg: Operation not permitted

**Code:** `PING: transmit failed. General failure.` · **Category:** Networking · **Seen on:** Windows, Linux, Networking

The operating system could not even send the packet, so the problem is local (adapter, route or firewall), not the remote host.

## Meaning

Usually the network adapter is disabled or disconnected, the machine has no valid route/IP, a VPN adapter is stuck, or a local firewall blocks outbound ICMP. Check `ipconfig /all`, re-enable the adapter, reset the stack (`netsh winsock reset`) and look at VPN clients.

## Common causes

- Adapter disabled or disconnected
- No IP or default route
- VPN or virtual adapter in a bad state
- Local firewall or security software blocks outbound ICMP
- Corrupted TCP/IP stack

## Quick fix

1. Check `ipconfig /all` for a valid IP and gateway
2. Re-enable the adapter or disconnect the VPN
3. `netsh winsock reset` and `netsh int ip reset`, then reboot

## Detailed fix by platform

### Windows

1. 

```powershell
ipconfig /all
netsh winsock reset
netsh int ip reset
```


## How to diagnose

1. **IP address** — Valid?
2. **Adapter** — Enabled?
3. **VPN/firewall** — Interfering?

---
Source: [WhatIsMyError](https://whatismyerror.com/errors/networking/ping-transmit-failed-general-failure)
