in this video we will show you how to
port forward your minecraft server
forwarding a port allows people who
aren't on your wi-fi network to join a
server that you're hosting
we will show you how to allow the port
through the firewall
how to port forward your minecraft
server and how to allow
others to connect to your server if you
would like to know how to make a
minecraft server
a tutorial will be linked in the
description below
while poor forwarding is generally safe
make sure you have a good understanding
of port forwarding and your network's
security
before you begin open your server file
and go to server properties
look for server port
[Music]
if you're running multiple servers the
number here may be different for you
but if you only have one server the
number will be 25565
select the number and copy it
[Music]
go to the search bar on the bottom left
of your screen and type
firewall
then click on windows defender firewall
on the left click on advanced settings
you can close the previous window
[Music]
next click on inbound rules at the top
left
then at the top right click on new rule
select port then click next
[Music]
make sure tcp and specific local ports
are selected
paste the port number in the slot next
to specific local ports
then click next
make sure allow the connection is
selected then click on next
[Music]
make sure all three of these options are
selected then click next again
go ahead and type in the name you want
then click on finish
[Music]
after doing so click on new rule again
select port then click next
this time select udp and specific local
ports
paste the number again next to specific
local ports
then click next
make sure allow the connection is
selected and click next
again make sure all three options are
selected then click next
go ahead and type in a name and then
click on finish
you can repeat the same name
click on outbound rules at the top left
then click on new rule
select port then click next
make sure tcp and specific remote ports
are selected
and paste the number again after this
point the rest of the steps are the
exact same as previously shown
once you've finished click on new rule
again
select port then next
this time make sure udp is selected as
well as specific remote ports
paste in the port number and finish the
rest of the steps like before
after doing that we've now allowed the
port through the firewall
you will need to go to your poor
forwarding settings on your router
this step might look different depending
on what router you have
to log into your router you will need
your default gateway number
go to the search bar on the bottom left
of your screen and type
run then hit enter
type cmd then hit enter again
then type in ipconfig and hit enter
you will need to look for default
gateway under the internet your computer
is connected to
copy the number next to default gateway
and paste it in your browser
a login box or screen will appear enter
your router's username and password to
log
in once you've found your way into the
port forwarding settings
you should see external port internal
port protocol
local ip and possibly an enable option
paste the port number under external and
internal port
make sure that tcp and udp is selected
under protocol
if you don't have the option for both of
them you can add one as
tcp then add another as udp
if there are two slots under internal
and external ports
enter the same port number into these
slots as well
you will also need to enter your local
ip here
this may be different for some routers
that will ask you to enter the entire ip
but in this case it's only asking for
the last few digits
to find your local ip go to the search
bar on the bottom left of your screen
type run then hit enter
type cmd and hit enter again
then type in ipconfig and hit enter
you will need to look for ipv4 address
under the internet your computer is
connected to
you will find your local ip right next
to it
for example this computer is connected
to a wireless network
so the local ip will be listed under
that
make sure to check the box under enabled
after you've entered all the details
click on add new to port forward your
minecraft server
people within your local network will be
able to join your server
using your local ip address
if you want to allow people outside of
your local network to join the server
you will need to give them your public
ip address
to find your public ip you can type my
ip address on google
and it will show your ip
if your port number is in 25565 you will
need to add a colon next to your ip
address
and add the port number after it then
send it to friends
if your port number is 25565 there's no
need to do that
you can simply just send your ip
your friends can now join your server
using your ip address
you