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
Puhpine
Puhpine6mo ago
You don't need to change the port, default is fine. On your router, you can't open a port in your server properties
eliot_cts
eliot_ctsOP6mo ago
i can't use the 25049 port because of my router settings... the smallest one i can set on my router is 32770
Puhpine
Puhpine6mo ago
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
eliot_cts
eliot_ctsOP6mo ago
any port under 32770 is not allowed in my router :/ can i change the default port ?
Puhpine
Puhpine6mo ago
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...
eliot_cts
eliot_ctsOP6mo ago
lmao
Puhpine
Puhpine6mo ago
Does the server have a config/distanthorizons.toml file?
eliot_cts
eliot_ctsOP6mo ago
yes giveme a second
Puhpine
Puhpine6mo ago
Probably there
eliot_cts
eliot_ctsOP6mo ago
but i didn't find the option in it
Puhpine
Puhpine6mo ago
Dont see it either When you join the world. Can you execute /dhconfig or something like that?
eliot_cts
eliot_ctsOP6mo ago
yes i can use /dhconfig but i don't find any option that allowed me to change the port
Puhpine
Puhpine6mo ago
Darn, better to ask in the #Server side fork tread then
eliot_cts
eliot_ctsOP6mo ago
okay i will do this, thanks
Miki_P98
Miki_P986mo ago
On what port do you have normal MC? I’m just curious
GawrGuraIsHot
GawrGuraIsHot6mo ago
Sounds like it's time to get the source and change it :trollos:
Want results from more Discord servers?
Add your server