Port forwarding is what allows friends outside your local WiFi network to connect to your Minecraft server. It effectively tells your router: “Any traffic coming from the internet looking for Minecraft should go specifically to this computer.”
Here is the step-by-step guide to port forwarding a Minecraft server.
Step 1: Get Your Connection Details
You need two specific numbers from your computer to give to the router.
For Windows:
Press the Windows Key, type
cmd, and press Enter.In the black window, type
ipconfigand press Enter.Write down two numbers:
IPv4 Address (e.g.,
192.168.1.15– this is your computer’s “internal ID”).Default Gateway (e.g.,
192.168.1.1– this is your router’s address).
For Mac:
Open System Settings > Network.
Click your active connection (Wi-Fi or Ethernet) > Details.
Click TCP/IP on the left.
Write down the IP Address and Router address.
Also Read : ceowestbengal.wb.gov.in/asd_sir
Step 2: Log into Your Router
Open a web browser (Chrome, Edge, Safari).
In the address bar (where you type google.com), type the Default Gateway (Router) number you wrote down in Step 1 (e.g.,
192.168.1.1).Press Enter. You should see a login page.
Log in.
Note: If you don’t know the username/password, check the sticker on the back/bottom of your physical router. Common defaults are
admin/passwordoradmin/admin.
Step 3: Create the Port Forwarding Rule
Every router looks different, so you may need to hunt for the right menu. Look for a tab labeled “Port Forwarding,” “Virtual Server,” “NAT/QoS,” or “Advanced.”
Once you find it, click “Add New” or “Create Rule” and fill in the following:
Service Name / Rule Name: (This is just a label for you).
MinecraftProtocol:
TCP(Minecraft Java Edition uses TCP. If you play Bedrock, selectTCP/UDPor justUDP).External Port (Start/End):
25565Internal Port (Start/End):
25565Note: If it asks for a range, just type
25565in both boxes.
Internal IP Address: Type the IPv4 Address of your computer that you wrote down in Step 1 (e.g.,
192.168.1.15).Status: Enable / On.
Save or Apply the settings.
Step 4: The Final Test
Start your Minecraft Server. It must be running for the test to work.
Go to a website like canyouseeme.org.
The site will automatically detect your “Public IP” (this is the address you give to your friends).
In the “Port to Check” box, type
25565.Click Check Port.
Success: If it says “Success,” your friends can now join using your Public IP.
Error: If it fails, check your computer’s Firewall (Windows Defender) and ensure “Java(TM) Platform SE binary” is allowed through Public networks.
Important Note for Friends
Your friends will join using your Public IP Address (what you see on Google if you search “what is my IP”). You (the host) will join using localhost or 0.
Be the first to comment