Article: This process is as simple as going to https://www.whatismyip.com/ in your computer's web browser and looking at the number to the right of the "Your Public IPv4 is:" heading, though you can also just type what is my ip into Google to see the result displayed at the top of the page. Close the server if it's currently running, then double-click the run file that you created in your "Minecraft Server" folder and wait for it to finish loading before proceeding. The server window must always be open while you're hosting your server. Double-click the Minecraft app icon, which resembles a grassy block of dirt, then click PLAY at the bottom of the launcher. You may be prompted to log in with your Minecraft email address and password if you haven't opened Minecraft in a long time. It's in the Minecraft menu. You'll find this button in the lower-right side of the window. In the "Server Name" text box at the top of the window, type in whatever you want to name your Minecraft server. In the "Server Address" text box, type in your computer's static IP address. In some cases, you can also type localhost into this box; however, this won't work on all networks, so you should stick to entering your computer's IP address. It's at the bottom of the window. This will create your server. Click the server's name at the top of the window. It's at the bottom of the window. This will open your server's world. You can do this by sending your public IP address to up to 19 of your friends and having them do the following: Open Minecraft and click Multiplayer Click Direct Connect Enter your computer's public IP address (not the local IP address that you enter to host the server). Click Join Server if necessary. If your friends are unable to join your game, you may have to disable your computer's firewall. Keep in mind that this opens up your computer to attacks from intruders, so you should only do this when playing with trustworthy people.

What is a summary?
Find your computer's public IP address. Start your server. Open Minecraft. Click Multiplayer. Click Add Server. Enter a server name. Enter your computer's address. Click Done. Select the server. Click Join Server. Invite friends to join. Disable your firewall