How to change the 25049 Port ?
Hey, i'm a beginner with distant horizons, and i would like to use it on my server.
1-How can i change the port to let the server and the client exchanged ? (i didn't find the option in the settings of the mod in MC, and the command: /dhconfig serverport isn't working)
2- Am i supposed to open the port on my router or on my server properties ?
17 Replies
You don't need to change the port, default is fine.
On your router, you can't open a port in your server properties
i can't use the 25049 port because of my router settings...
the smallest one i can set on my router is 32770
Are you sure? That shouldn't be a thing
And you don't need smaller than 32770. 25565 is a lot bigger
Oh wait, I read the numbers wrong
any port under 32770 is not allowed in my router :/
can i change the default port ?
Your router is stupid
Are you sure you are looking at port forwarding?
Anyway, yes you can change the port DH will use
But I don't remember where...
lmao
Does the server have a config/distanthorizons.toml file?
yes
giveme a second
Probably there
but i didn't find the option in it
Dont see it either
When you join the world. Can you execute /dhconfig or something like that?
yes i can use /dhconfig but i don't find any option that allowed me to change the port
Darn, better to ask in the #Server side fork tread then
okay i will do this, thanks
On what port do you have normal MC?
I’m just curious
Sounds like it's time to get the source and change it :trollos: