Can someone help me setting up a server

i did port forwading on my router but the cod4x dont work

This is really not enough info to go off. You need to go into more details about what you have been able to do, what isn’t working. What ports you have forwarded / what port have you actually assigned to the server.

You need to help us to help you.

And the port is showing closed on portchecker

Have you actually opened this port?

Have you got a token and entered it in your server config as:

Typing this out and you delete your post???

cod4master.activision.com resolved to 185.34.107.159:20810
Hitch warning: 3391 msec frame time
Masterserver needs token to complete registration
Masterserver needs token to complete registration
Resolving cod4master.activision.com
cod4master.activision.com resolved to 185.34.107.159:20800
Can not register server on the masterserver. Server needs to provide a valid token in cvar sv_authtoken.
Can not register server on the masterserver. Server needs to provide a valid token in cvar sv_authtoken.
Sending master heartbeat from 192.168..:62575 to 84.21.7.14:20810
Sending master heartbeat from 192.168.
.
**:62575 to 188.165.57.239:20810
Masterserver needs token to complete registration
Masterserver needs token to complete registration
Can not register server on the masterserver. Server needs to provide a valid token in cvar sv_authtoken.
Can not register server on the masterserver. Server needs to provide a valid token in cvar sv_authtoken.

hiding your internal ip address doesn’t really do anything as it is internal and not you ISP assigned IP address :laughing:

Have you got a token and placed it in your server config as:
set sv_authtoken “your token”

I dont know how to get a token

CoD4X Master Server List - Call of Duty 4: Modern Warfare Servers List

click on Get a Token at the top of the page

main thing is you need to get that port open 62575

The port is now open

Then you should be good to go

The website is not giving a token

I GOT THE TOKEN BUT NOW ITS SAYING THIS
Server is registered on the masterserver
sv_authtoken is invalid! Abandoning master server registration

At this point the master server token is not important.

If you can get your server up and running it should appear in the ACTI server list

Thank you so much for your help my server is now running thanks alot again

Thats good to hear :+1:

Theres a another problem sorry for asking but my friends they cannot join my server dont know why

or is there any good config file and how add config file in parameters currently im using +exec server.cfg in parameter

Try this then see if your friends can see and join the server:

+set dedicated 2 +set net_ip 000.000.000.000 +set net_port 62575 +set sv_showasranked 1 +set modstats 0 +set rcon_password “your rcon password” +set sv_maxclients 32 +exec server.cfg

000.000.000.000 = change to your ip can be your internal ip eg 192.168.0.250