I host my Minecraft server with a spare PC that's connected directly to my router via ethernet. The server is running the 1.15.1 edition and all my computers are updated to that version too. I managed to be able to connect to the server with my main gaming PC while connected to the same network that my server is using. Mind you, my gaming computer is connected via wifi, not ethernet like my server PC. However, when I try to connect using my laptop using outside wifi (meaning anywhere but my home's internet) I always get a time out error. What could I be doing possibly wrong? I've tried every IP address I could possibly think of, including the ones IPCONFIG and the website "ipchicken.com" could give me. I've even added on my port #'s to the end of them, but nothing can find my server. For my gaming computer that can connect on my same network, I have to use the IPv4 Address and then : followed by the port the server is using.
You want to use the address ipchicken (great website btw) is giving you. This is your public IP address.
Be careful who you give this to, especially if it is your home, people can figure out where you are!!
In your router configuration (accessed through a web browser) log into your router. Be sure to figure out what your local IP address of the computer running the server is. You want to find where in your router configuration you can forward ports, and have the local IP address of the computer forward the necessary ports.
Once the proper local address has the ports needed forwarded, people outside of your network will be able to hop using the format of "your.public.IP.Address:theport"