How do I port forwar for a MC Java server?

October 19, 2019 161 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 !

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.

Have another answer? Share your knowledge.