Use uppercase for variable.
Start server status check only if a valid port is passed.