infoServer ErrorsAffects: All versions
How to Fix Query Port Error
Fix Query Port Error by configuring the query settings in server.properties and opening the UDP port.
Quick Fix
Set enable-query=true and query.port=25565 in server.properties. Ensure the UDP port is open.
Error Message
Unable to initialise query on port / Query running on portHow to Fix
1
Set enable-query=true in server.properties
2
Set query.port to a free port (default 25565)
3
Open the query port for UDP in your firewall
4
If not needed, set enable-query=false
Common Causes
- Query port already in use
- enable-query not configured correctly
- Firewall blocking UDP query port
Diagnostic Steps
- Edit server.properties
- Configure query settings
- Open UDP port
- Restart
FAQ
Do I need query enabled?
Only if you want server list ping data or use monitoring tools. Most servers can leave it disabled.