How to Give Permissions in LAN for "Minecraft"by Daniel HatterUpdated September 22, 2017
One of the necessary steps when you're setting up a Minecraft server is to forward the port it uses in your network router's LAN setup utility. If your router isn't given permission to forward the port, you won't be able to access your Minecraft server from other computers. Before you can forward the port, however, you need to assign your computer a static IP address. This ensures that your computer's IP address doesn't change, which in turn ensures that the port is always being properly forwarded.
Assign Your Computer a Static IP Address
Press "Windows-R" to open the Run utility and then type "cmd" into the dialog box. Click "OK" to open a Command Prompt window.
Type "ipconfig /all" into the window (omit the quotes) and press "Enter." Scroll up to the "IPv4 Address," "Subnet Mask," "Default Gateway" and "DNS Servers" entries and keep the window open.
Right-click the network icon in the Windows taskbar, select "Open Network and Sharing Center," click "Change Adapter Settings" in the left pane, right-click your adapter and then select "Properties."
Click to select "Internet Protocol Version 4" from the list in the dialog that opens up and then click "Properties."
Select "Use the Following IP Address" and type the entries you found in the Command Prompt window (see step 2) in the designated fields. Click "OK" and then click "OK" again to save your settings.
Forward the Minecraft Port to Your Computer
Type your network router's IP address -- usually "192.168.0.1," "192.168.1.1" or "192.168.2.1" -- into a browser to access its LAN setup utility. Type your username and password to log in.
Click the "Advanced" or similarly named section of the menu and then click the "Port Forwarding" sub-section. Click the "New Rule" or similarly named button on the following page.
Select the "TCP" option from the "TCP/UDP" drop-down menu, type "Minecraft" in the "Name" box, type "25565" in the "Starting Port" and "Ending Port" boxes and then type your computer's IP address (viewable in the Command Prompt window) in the "Server" box.
Click "Save" to create the port forwarding rule and then click "Log Out" to log out of your router's LAN setup utility. Your router is now able to forward Minecraft LAN traffic to your computer.
If you don't know or can't remember, consult your router documentation to find its default username and password.