Minecraft server: Difference between revisions

No edit summary
m Text replacement - "<(\/?)source" to "<$1syntaxhighlight"
 
Line 9: Line 9:


Using <code>nmap</code> to see if your minecraft server is properly port-forwarded
Using <code>nmap</code> to see if your minecraft server is properly port-forwarded
<source lang="bash">
<syntaxhighlight lang="bash">
# Use nmap to knock on port 25565 at the external IP address
# Use nmap to knock on port 25565 at the external IP address
# Add in the -Pn option to treat all host as "online" in the HOST DISCOVERY stage; in other words, skip the host discovery stage
# Add in the -Pn option to treat all host as "online" in the HOST DISCOVERY stage; in other words, skip the host discovery stage
Line 17: Line 17:
PORT      STATE    SERVICE  VERSION
PORT      STATE    SERVICE  VERSION
25565/tcp filtered minecraft
25565/tcp filtered minecraft
</source>
</syntaxhighlight>


In the above nmap scan, "filtered" means that a firewall, filter, or other network obstacle is blocking the port so that Nmap cannot tell whether it is open or closed.
In the above nmap scan, "filtered" means that a firewall, filter, or other network obstacle is blocking the port so that Nmap cannot tell whether it is open or closed.