Report this

What is the reason for this report?

How to allow connections to minecraft server on port 25565

Posted on June 4, 2014

I have set up a droplet running ubuntu 14.04 and I have a minecraft server running. Port 25565 appears to be closed to external connections. I have run the command “iptables -I INPUT -p tcp --dport 25565 -j ACCEPT” however I still cannot connect to the minecraft server. Here is the output from “netstat -pln”:

" Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 774/sshd tcp6 0 0 :::22 :::* LISTEN 774/sshd tcp6 0 0 127.0.1.1:25565 :::* LISTEN 1056/java Active UNIX domain sockets (only servers) Proto RefCnt Flags Type State I-Node PID/Program name Path unix 2 [ ACC ] STREAM LISTENING 10211 1097/tmux /tmp/tmux-1000/default unix 2 [ ACC ] STREAM LISTENING 6942 1/init @/com/ubuntu/upstart unix 2 [ ACC ] STREAM LISTENING 7543 358/dbus-daemon /var/run/dbus/system_bus_socket unix 2 [ ACC ] STREAM LISTENING 8832 778/acpid /var/run/acpid.socket unix 2 [ ACC ] SEQPACKET LISTENING 7326 291/systemd-udevd /run/udev/control unix 2 [ ACC ] STREAM LISTENING 9475 1020/tmux /tmp/tmux-1001/default "

I have been advised to listen for connections from all addresses however I’m not sure how to set this up. Could someone help me?



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!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

I run minecraft servers off of droplets all the time. All ports are open unless you installed a firewall or used iptables to block the port. Make sure your server isant listening on the loopback ip (eg localhost/127.0.0.1).d

Yes as Darius said , All port should be open !

tcp6 0 0 127.0.1.1:25565 :::* LISTEN 1056/java <br> <br>It’s just listening on your loopback device. You need to get it to listen on your public nic.

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.