Has anybody been able to get either the rcon or gamespy4 services working on a minecraft server?
Following information on the wiki we've tried:
rcon.password=ourverysecretpassword
server-port=25565
query.port=25567
enable-rcon=true
rcon.port=25575
But this doesn't seem to enable either service…
The ports are simply closed:
Interesting ports on localhost (127.0.0.1):
PORT STATE SERVICE
25564/tcp closed unknown
25565/tcp open unknown
25566/tcp closed unknown
25567/tcp closed unknown
25568/tcp closed unknown
Any suggestions?
Best Answer
Tzarium is not correct reguarding the
nmap
and networking issues. Nmap is 100% accurate; though you might need to use it properly and read its output carefully.25567/tcp closed
means that TCP port 25567 is closed, which is not the same as UDP port 25567. And MC server uses UDP for the "query" feature.Consider these nmap command lines for reference:
7 years later edit
Yea, indeed. "Using nmap properly" includes understanding that different network paths will behave differently in general, and especially likely so when you're debugging an issue. To see with nmap what a client sees, you need to run nmap on the client; or at the very least from its immediate network neighbor (same local subnet), so that the network path is mostly the same except for one host. Notice I wrote
minecraft-server
as nmap target, notlocalhost
! — implicitly assuming this understanding. A very late thanks to @user56 commenting on this.