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