I don’t know what " Now you can run the server with ./cod4x18_dedrun +map mp_killhouse ." is supposed to mean or where I’m supposed to enter that but I do have the following in my ‘target’ field inside my dedrun.exe shortcut: D:\SERVER\cod4x18_dedrun.exe +map mp_crash +set dedicated 2 +set net_ip 10.0.0.24
When I try to join via `connect 10.0.0.24 I’m met with “Awaiting connection…16…” and then “Server connection timed out”.
I YouTubed the issue and came across this video: https:// youtube .com/watch?v=TmfIEVuEO-M. He does nothing different except adds some variations into the shortcut’s target field. I tried them all and nothing helped.
I tried this setup tutorial: https:// botsofwar.forumotion .com/t563-guide-to-setting-up-your-own-cod4-dedicated-server#1558. This tutorial is mostly the same but goes on to explain the server.cfg file. I tried that and it changed nothing. My server.cfg file currently only has one line for set sv_authtoken - this didn’t help either. It also explains passwords. I’ve tried with and without game passwords, obviously it made no difference.
I read through and tried this tutorial: https:// cod4x .ovh/t/how-to-create-a-server-windows-guide/3095. It’s most of the same however uses another template for the server.cfg file. It did nothing for me either.
This user does a good job of summarizing the instructions step-by-step: https:// cod4x .ovh/t/how-to-start-a-public-server/3970 but just leaves me with more variations for the target field in the shortcut. I tried them and nothing helped.
Here’s what I do know:
Disabling my firewall did not help
I am able to view my server on https:// cod4master.cod4x .ovh/ but not join it
If I change my port forward and set a net port in the shortcut’s target field to a custom number that isn’t 28960 I am able to join the server but no one else can
Can anyone see what I’m doing incorrectly? The goal is to make a private game to play with a friend.
net_ip xxx.xxx.xxx.xxx = Change xxx.xxx.xxx.xxx to your internal IP address
net_port yyyyy = Change yyyyy to a port other than 28960
Then save it
Rename it to server.bat
double click to run it
Make sure you have correctly port forwarded the port you specify
Double check that cod4x18_dedrun is allowed through your firewall
If it doesn’t work then post the server.cfg you are using.
Ran the batch file under port 28960 and I couldn’t join it, ran it under a custom port and I could join it but my friend still can’t, this is the same result as the last three days. I also added cod4x18_dedrun to my allowed apps in my firewall - still nothing. My server.cfg file is the exact one from your tutorial copy/pasted, the only edits I made were set sv_authtoken, set sv_hostname, and set net_port.
If this means anything, when I look up my server on https://cod4master.cod4x.ovh/ the IP doesn’t match my IPv4 Address of 10.0.0.24 and the top line is green while the bottom is red.
[::ffff:174.2.78.83]:XXXXX
[2604:3d09:e485:800::793f]:XXXXX
I can assure you my port forward is correct - that’s how I’m able to join. As far as I know my firewall is fine but I did notice that when I scan my IP through this website Open Port Checker & Scanner | Test Port Forwarding | Internet Protocol Tools my firewall comes back as ‘filtered’, although I’m not sure if that’s an issue. Maybe you could try yours and see what it says?
Is there anything my friend needs to do to be able to join or is just having Cod4x and joining through `connect 10.0.0.24:XXXXX enough?
Okay wait I didn’t know that. I assumed if I was able to join that it couldn’t be the issue. If this is true then it’s also the only thing I haven’t looked into much deeper than simply port forwarding my router to a custom 5 digit number and resetting my router. Are there any other 5 digit numbers that don’t work as ports? Or is anything other than 28960 okay?
I’ll look into the firewall again too. I allowed the server’s application and allowed the port for both TDP and UCP for both internal and external (four rules total) but maybe there’s more I can do or check.
My server does not show up in ‘join game’ on cod4x for them. Not even if they add the IP:PORT as a favourite - if they try to join it they get “Server connection timed out.” It doesn’t show up for me under ‘Local’ either but I can join it through ‘connect IP:PORT or a favourite.
I tend to stick around the 28xxx numbers. Like my COD4 are 28100 codwaw 28200 and IW4x 28300.
But I find using 28960 for COD4 server doesn’t work for me