Summarize this article in one sentence.
This will ensure that the port you forward later will remain attached to your computer. To assign a static IP address, access your router's page, then do the following: Find your router's list of connected items. This will vary from router to router. If you can't find a way to assign a static IP address, consult your router's documentation for specific instructions. Select your computer. Change your computer's number if necessary. Click Save or Apply. Wait for your router to finish rebooting if necessary. . Once your computer has a specific IP address assigned to it, you can proceed with forwarding the Minecraft port (25565 by default): Find the "Port Forwarding" section (again, consult your router's manual or online documentation for model-specific instructions) and create a new rule if necessary. Enter "Minecraft" as the description or title. Enter your computer's static IP address (usually "192.168.2.number") in the "IP" or "Address" section of the rule. Select TCP & UDP from the "TCP" or "UDP" menu. Enter 25565 in both port text boxes. Ensure that the rule is enabled by checking its box or clicking the On button. Save and apply your settings by clicking Save or Apply. This process will vary slightly depending on your computer's operating system: Windows Right-click the desktop, select New, click Folder, type in Minecraft Server, and press Enter. Mac Click the desktop, click File, click New Folder in the drop-down menu, type in Minecraft Server, and press Return. The default text editor on Windows is Notepad, while Mac users will open TextEdit: Windows Click Start {"smallUrl":"https:\/\/www.wikihow.com\/images\/0\/07\/Windowsstart.png","bigUrl":"\/images\/thumb\/0\/07\/Windowsstart.png\/30px-Windowsstart.png","smallWidth":460,"smallHeight":460,"bigWidth":"30","bigHeight":"30","licensing":"<div class="mw-parser-output"><p>I edited this screenshot of a Windows icon.
<\/p><p>License: <a rel="nofollow" class="external text" href="http:\/\/en.wikipedia.org\/wiki\/Public_domain">Public Domain<\/a><br>
<\/p><\/div>"}, type in notepad, and click Notepad. Mac Click Spotlight {"smallUrl":"https:\/\/www.wikihow.com\/images\/e\/ea\/Macspotlight.png","bigUrl":"\/images\/thumb\/e\/ea\/Macspotlight.png\/30px-Macspotlight.png","smallWidth":460,"smallHeight":460,"bigWidth":"30","bigHeight":"30","licensing":"<div class="mw-parser-output"><p>I edited this screenshot of a Mac icon.
<\/p><p>License: <a rel="nofollow" class="external text" href="http:\/\/en.wikipedia.org\/wiki\/Fair_use">Fair Use<\/a><br>
<\/p><\/div>"}, type in textedit, and double-click TextEdit, then click New Document. Type java -Xmx3G -Xms1G -jar server.jar into the text file. If the server file's name is something other than "server.jar", replace the "server.jar" part of the text with the file's name and ".jar" instead. The "Xmx3G" and "Xms1G" lines refer to the amount of computer RAM used (3 gigabytes at most, 1 gigabyte to start up). If your computer can't handle these specifications, you can lower them. You can also use "M" instead of "G" to indicate megabytes instead of gigabytes if you want to use under a gigabyte of RAM. Again, this will vary depending on your computer: Windows Click File, click Save As..., type run.bat into the "File name" text box, click the "Save as type" drop-down box and click All Files, select your "Minecraft Server" folder, and click Save. Mac Click Format, click Make Plain Text, click OK when prompted, click File, click Save, type in run, click the downward-facing arrow to the right of the "Name" field, uncheck the "Hide Extension" box, replace the ".txt" part of the name with ".command", click Save, and click Use .command when prompted.
Assign a static IP address to your computer. Forward the Minecraft port for your router Create a new folder called "Minecraft Server" on your computer. Open a text editor. Enter the launch parameters. Save the file as a launch file in the "Minecraft Server" folder.