Question

How do I port forwar for a MC Java server?

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

Subscribe
Share

Submit an 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.