Report this

What is the reason for this report?

How do I port forwar for a MC Java server?

Posted on October 19, 2019

I have herd that I need to port forward in order to have an IP:Port for a select MC server. Any tips would be great !



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.

Hello, @jpcopeela

You need to make sure you port is open in order to successfully receive connections on it. You can do this using iptables:

iptables -A INPUT -p tcp -m tcp --dport PORT -j ACCEPT

Save iptables:

iptables-save

You can also check if ufw is running:

ufw status

Let me know if you have any questions.

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.