I had the same problem. It turns out my Palworld server was using the same query port.
My guess is that you're operating some sort of dedicated server. You'll have to find out how to change the query port for your server specifically. This is the link I used to
change the query port for Palworld, but it'll probably be different depending on which type of server you're hosting.