Jump to content

ran into a problem after got my new router

new when im port forwarding it asks for an external and internal host

what do i write there?

it doesnt let me save without it and it wasnt like that with my old router

"I fear not the man who has practiced 10,000 kicks once, but I fear the man who has practiced one kick 10,000 times." - Bruce Lee

Link to comment
https://linustechtips.com/topic/1240128-minecraft-port-forwarding/
Share on other sites

Link to post
Share on other sites

If you want to forward port 25565 for example, you would then put that in both the external and the internal port fields.

 

The reason it is like this is to provide more flexibility with port mapping, so for example if you have a server running on port 80 that you can't change to anything else, and your internet service provider blocks port 80, then you can enter another port that isn't blocked such as 3000 in the external port field, and then put 80 in the internal port field. Then you can access the service on port 3000 from outside, but still use port 80 on the inside.

Edited by Husky
Spelling error

PC:

AMD Ryzen 9 5900X | AMD Radeon RX 7900 GRE | 32 GB RAM | Arch Linux

Laptop:

MacBook Pro 13" (2019) | Intel Core i5 8279U | 8 GB RAM | macOS

Server:

Intel Core i7 6700K | 16 GB RAM | 2 TB HDD | Debian Linux

Link to post
Share on other sites

2 minutes ago, Husky said:

If you want to forward port 25565 for example, you would then put that in both the external and the internal port fields.

 

The reason it is like this is to provide more flexibility with port mapping, so for example if you have a server running on port 80 that you can't change to anything else, and your internet service provider blocks port 80, then you can enter another port that isn't blocked such as 3000 in the external port field, and then put 80 in the internal port field. Then you can access the service on port 3000 from outside, but still use port 80 on the inside.

i did use 25565 both internal and external but im talking about the host

my friends cant login into the server and when im adding a port it says i need to choose a host and when i put my pcs ip adress it still doesnt work

 

"I fear not the man who has practiced 10,000 kicks once, but I fear the man who has practiced one kick 10,000 times." - Bruce Lee

Link to post
Share on other sites

12 minutes ago, HardStroke said:

i did use 25565 both internal and external but im talking about the host

my friends cant login into the server and when im adding a port it says i need to choose a host and when i put my pcs ip adress it still doesnt work

 

The host would be the internal IP address of the machine running the server.

Main Rig:-

Ryzen 7 3800X | Asus ROG Strix X570-F Gaming | 16GB Team Group Dark Pro 3600Mhz | Corsair MP600 1TB PCIe Gen 4 | Sapphire 5700 XT Pulse | Corsair H115i Platinum | WD Black 1TB | WD Green 4TB | EVGA SuperNOVA G3 650W | Asus TUF GT501 | Samsung C27HG70 1440p 144hz HDR FreeSync 2 | Ubuntu 20.04.2 LTS |

 

Server:-

Intel NUC running Server 2019 + Synology DSM218+ with 2 x 4TB Toshiba NAS Ready HDDs (RAID0)

Link to post
Share on other sites

4 hours ago, Husky said:

If you want to forward port 25565 for example, you would then put that in both the external and the internal port fields.

 

The reason it is like this is to provide more flexibility with port mapping, so for example if you have a server running on port 80 that you can't change to anything else, and your internet service provider blocks port 80, then you can enter another port that isn't blocked such as 3000 in the external port field, and then put 80 in the internal port field. Then you can access the service on port 3000 from outside, but still use port 80 on the inside.

 

4 hours ago, Master Disaster said:

The host would be the internal IP address of the machine running the server.

it shows that my server is running but i can only connect it thru local host

when i type my ip it doesnt even show that the server is online

do you guys know why?

its been far too long since ive done this and i dont remember 

"I fear not the man who has practiced 10,000 kicks once, but I fear the man who has practiced one kick 10,000 times." - Bruce Lee

Link to post
Share on other sites

1 hour ago, HardStroke said:

 

it shows that my server is running but i can only connect it thru local host

when i type my ip it doesnt even show that the server is online

do you guys know why?

its been far too long since ive done this and i dont remember 

If you are hosting on the same machine, you need to connect through localhost or your internal ip because your router most likely does not support NAT hairpin. Anyone outside your local network needs to use your external address to connect. If they are unable to connect then there is probably an issue with  how you have forwarded the ports

Link to post
Share on other sites

3 hours ago, elpiop said:

If you are hosting on the same machine, you need to connect through localhost or your internal ip because your router most likely does not support NAT hairpin. Anyone outside your local network needs to use your external address to connect. If they are unable to connect then there is probably an issue with  how you have forwarded the ports

it shows that the server is not online but i did everything correctly

i port forwarded port 25565, the host is my pc, allowed java thru windows firewall but when i turn the server on it doesnt shot that its on

"I fear not the man who has practiced 10,000 kicks once, but I fear the man who has practiced one kick 10,000 times." - Bruce Lee

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×