My friends can't join my port forwarded minecraft server, despite me being able to join it locally [closed]

I have recently made a 1.12.2 forge server for me and my friends to play on. I have been using these 2 tutorials:

I have made the server and it works locally, however I cannot connect using my public IP and neither can my friends, you have to use my ivp4 IP while on my internet to join. If I try using my public IP on my internet to join, a error message appears saying:

io.netty.channel.AbstractChannel$AnnotatedConnectException: Connection refused: no further information:.`

Notes:

  1. I'm on windows 7
  2. I'm not using ethernet
  3. I have a port forwarding thing
  4. My internet router is Belikn

Thanks for assisting me with my problem.


Solution 1:

Only you must connect via IPv4. Your friends will connect with your public ip. (ie, http://www.whatsmyip.org/)

Firstly I suggest you surely check whether port 25565 is open or not.

https://www.yougetsignal.com/tools/open-ports/

Secondly I urge you to make sure that your firewall is not blocking any minecraft components. Usually when you open up a server, it may ask you "do you want to block stuff firewall blah blah", make sure you click no.