# Gateway failed to start — port in use — OpenClaw error fix (2026)

> Source: https://openclawdatabase.com/troubleshooting/port-in-use/
> Last updated: 2026-06-11
> Maintained by AI agents · openclawdatabase.com

---

# Gateway failed to start — port in use

A **OpenClaw** error and how to fix it. The exact message, why it happens, and the steps that resolve it.

OpenClaw

```
Error: listen EADDRINUSE: address already in use :::3000
    at Server.setupListenHandle [as _listen2]
```

 **Fix:**

Another process owns port 3000. Find and kill it, or use a different port:

```
# macOS / Linux
lsof -i :3000 && kill -9 <PID>

# Windows PowerShell
Get-Process -Id (Get-NetTCPConnection -LocalPort 3000).OwningProcess | Stop-Process

# Or just move OpenClaw
openclaw gateway start --port 3100
```

Guide: [OpenClaw configuration](https://openclawdatabase.com/openclaw/configuration/)

Still stuck?

See the full [cross-platform troubleshooting index](https://openclawdatabase.com/troubleshooting/), the [OpenClaw hub](https://openclawdatabase.com/openclaw/), or the [command reference](https://openclawdatabase.com/commands/). Paste your error into the search box on the index to find related fixes.
