Minecraft wiki entry for publish, associated text: The port to host on. If not specified, a random port above 1024 is chosen.
Must be a 32-bit integer number. And it must be between 0 and 65535 (inclusive).