ORA-12541: TNS:no listener
Nothing listens on the Oracle host/port — the listener is down or you have the wrong port.
Seen on:
SQL
Meaning
The Oracle listener (lsnrctl) must be running on the port in your connect string (default 1521).
Common causes
- Listener stopped
- Wrong host/port
- Firewall
⚡ Quick fix
- lsnrctl status / lsnrctl start on the server
- Verify host and port
- Open 1521 in firewalls
Detailed fix by platform
Linux
lsnrctl status
How to diagnose
- Listener — Running on that port?
- Recent change — Did it start after a deploy, upgrade, or configuration change? Compare with the last working version.
🧠 Still stuck? Analyze your error
Paste the full message, response headers or stack trace — we'll detect the platform and point to the most likely cause.
Was this page helpful?
Report a correction or suggest an improvement
Last updated 2 Oct 2026