Skip to content
/SLASHPLAY

How to change the REST API port in Palworld

Set RESTAPIPort=8212 in PalWorldSettings.ini and restart the server to choose the port the REST API listens on. 8212 is the default.

RESTAPIPort

Sets the port the REST API listens on when it is enabled.

RESTAPIPort=<port>

Examples

RESTAPIPort=8212

Default REST API port.

Arguments

portRequired
Listening port for the REST API.

What it does

Only used when RESTAPIEnabled is True. Change it if the default port conflicts with another service.

The game's own description: Listening port for the REST API.

Good to know

  • Edit PalWorldSettings.ini while the server is stopped; changes apply after a restart.

Run it on your server

Admin commands are typed in game chat after /AdminPassword, or from the console on the server page. Settings go in world settings and apply at the next start. New to this? Start a Palworld server first.

Your own
Palworld server.

From $0.03 an hour, only while it runs. New accounts get 6 free tokens.