Restricted public access to self hosted Minecraft Server
Forge can be quite finicky sometimes, so to make it work you need to make sure the mods and forge version you are using matches your friends. Previously when I used forge servers before, my friends downloaded the same mod with a slight version change and that was enough to stop everything from working.