#Server Properties file not saving on boot

13 messages · Page 1 of 1 (latest)

hollow flame
#

I'm using Ptero for a minecraft server and when I try changing the server.properties file, both within the panel and through a vps, it binds to port 0.0.0.0 again. No matter what I do it seems to reset it. Could it have something to do with not having the {SERVER_IP} and {SERVER_PORT} within the start.bat? java -Xms128M -XX:MaxRAMPercentage=95.0 -Dterminal.jline=false -Dterminal.ansi=true -jar {{SERVER_JARFILE}}

proud oak
#

0.0.0.0 is not a port, its an IP address

#

And that's entirely normal for that egg.

#

Why are you trying to change it ?

hollow flame
proud oak
#

That's not how that works

hollow flame
#

Oh in a normal mc server its as simple as going into the server.properties file and changing the server-ip to the IP set in your dns record

proud oak
#

That doesn't "bind to a domain". That simply sets the IP address it listens on

#

0.0.0.0 is all IP addresses/interface.

#

But as it's inside a docker container that has an isolated network stack, it's limited by the containers config

#

In this case, it's the IP allocation you have set in the panel for it that specifies what IP address it's listening on.

hollow flame
#

Alright I'll try and find some place to put the IP address from within the panel

gusty lynx
#

use srv record to bound it to your (sub)domain ?