net_port
This is a cvar, also known as console variable, present on Quake III Arena, RTCW Single Player, RTCW Multiplayer, Enemy Territory, DOOM 3 and DOOM 3 BFG. Below you can find its default value and flags for each engine that declares it.
Quake III Arena
| Property |
Value |
| Type |
console variable |
| Default |
va( "%i", PORT_SERVER ) |
| Flags |
CVAR_LATCH |
RTCW Single Player
| Property |
Value |
| Type |
console variable |
| Default |
va( "%i", PORT_SERVER ) |
| Flags |
CVAR_LATCH |
RTCW Multiplayer
| Property |
Value |
| Type |
console variable |
| Default |
va( "%i", PORT_SERVER ) |
| Flags |
CVAR_LATCH |
Enemy Territory
| Property |
Value |
| Type |
console variable |
| Default |
va( "%i", PORT_SERVER ) |
| Flags |
CVAR_LATCH |
DOOM 3
local IP port number
| Property |
Value |
| Type |
console variable |
| Default |
0 |
| Flags |
CVAR_SYSTEM | CVAR_INTEGER |
DOOM 3 BFG
host port number
| Property |
Value |
| Type |
console variable |
| Default |
27015 |
| Flags |
CVAR_INTEGER |
Last changed Sep 21, 2026