CITMTA & CIT FixCIT Tools

MTA:SA error code

MTA:SA error CC21

The address you asked MTA to connect to is not a valid host.

Code
CC21
Where you see it
A dialog from MTA itself
MTA's own wording
Invalid host
Family
CC codes

What it means

It usually comes from a typed address or an mtasa:// link with a mistake in it. Pick the server in MTA's server browser instead of typing the address.

MTA's own client shows a CC code when something fails before or during a connection: the address, the nickname, a module it could not load, or the connection itself. MTA's own documentation gives this code as Invalid host.

How to fix it

Work down the list and stop when it is solved.

  1. Copy the whole message first

    Write down every line MTA shows, not only the code. The rest of the message often names the file, the server or the reason, and that is what tells you which step below applies.

  2. Try the connection again

    Close MTA, open it again and connect once more. A single failed attempt can come from a restart on the server or a short break in your own connection.

  3. Check your own connection

    Open a web page on the same computer. If other things are also failing, fix the connection first. A working website does not prove a game server is reachable, but a broken one explains a lot.

Still stuck? The Fix tool reads MTA's own log on your computer and points at the matching steps. Nothing is uploaded.

Open the Fix tool

Other CC codes

Where this comes from

Meanings read from these sources on 5 September 2026 and written in our own words here.