Question

How do I port forwar for a MC Java server?

Posted October 19, 2019 527 views
Java

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 !

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.

×
1 answer

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.

Submit an Answer