By pixelatorp
I have used iptables and ufw to open the port 25565 on udp and tcp for a Minecraft Server I want to run. But when I check the port it’s not open. I’ve seen a lot of people say that all ports are open by default, but on https://www.yougetsignal.com/tools/open-ports/ it says all ports are closed. I’m checking using the public IP that came with the droplet.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hello, @pixelatorp
Could you please check is any service is currently running on this port?
You can check this using the netstat and run the following command from your droplet:
netstat -plunta | grep 25565
To check this outside your droplet you can use nmap , just execute:
nmap -Pn IPadd
Note: change the IPadd with your actual droplet’s IP address
Usually you should see some output if you’re started the minecraft server with the java command and it if was successfully of course. Can you please share the output of the netstat command and also list the steps you’ve taken so far as well?
Regards, Alex
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.