Hi, I have crawled the forums but I'm not able to solve my issue...
The problem is that I cannot see my server ingame. I am launching the dedicated server in a laptop and the game in my gaming pc, which are in the same local network. This way i see the server with no problem and I can join in, but my friends cannot. If I use the wifi of my mobile phone in the gaming pc, so connecting from outside of my local network, the server does not appear ingame.
Those are the steps I followed:
I have set up the server.cfg properly and run DedicatedServerCmd.exe with apparently no error. I have not changed anything besides server.cfg (no luas or anything else). This is the result in the cmd:
Code:
[2020-05-24 22:26:44] INFO: Starting up the Dedicated Server Library.
[2020-05-24 22:26:44] INFO: Server configuration loaded:
- server build version: 1
- protocol version: 64 (1.0.0.64)
- server name: Puesta a Punto SR 2.0 Casual racing
- max session size: 24
- details: secure, bind IP INADDR_ANY, Steam port 8766, host port 27015, query port 27016, password protected yes
- whitelist size: 0
- blacklist size: 0
- lua api: enabled
- http api: enabled listening at 127.0.0.1:9000, 1 extra header(s) defined
- allow empty join: enabled
- game setup control: enabled
- sports play : disabled
Setting breakpad minidump AppID = 378860
[2020-05-24 22:26:44] INFO: HttpApi started
[2020-05-24 22:26:44] INFO: Loading LuaApi addon 'sms_base'...
[2020-05-24 22:26:44] INFO: Loading LuaApi addon 'sms_rotate'...
[2020-05-24 22:26:44] INFO: Loading LuaApi addon 'lib_rotate'...
[2020-05-24 22:26:44] INFO: Loading LuaApi addon 'sms_motd'...
[2020-05-24 22:26:44] INFO: Loading LuaApi addon 'sms_stats'...
[2020-05-24 22:26:44] INFO: LuaApi started
[2020-05-24 22:26:44] INFO: Dedicated server is starting...
[2020-05-24 22:26:45] INFO: Connection to Steam established
[2020-05-24 22:26:45] INFO: Received public IP 93.176.157.21
[2020-05-24 22:26:45] INFO: Server logged in with Steam id 90135552676304904 ; server is secure
[2020-05-24 22:26:45] INFO: Server startup finished: AppId 378860, public IP [my public IP], Steam id [My Steam ID] ; switching to running state
[2020-05-24 22:26:45] INFO: Saving persistent data for addon 'sms_rotate' into 'lua_config\sms_rotate_data.json'
I also loaded the localhost user interface, but it shows a cross at "Joinable".
I have an IP fixed by DHCP in my laptop and I have opened the ports specified in server.cfg in my router, or at least I think so. I have tried with the default ports, as well as some random ones. The thing is that with a port forwarding checking tool i see them as closed, no matter which I try...
I can see the server in the online server lists, but I cannot see it using the builtin Steam server search tool, where you search for active games in a particular IP and port (cannot post pics or links as I am new to this forum...).
I created a rule in the windows 10 firewall for the same ports and even disabled the firewall completely, with no success.
I am at this point and I don't know what to do or where to search for a solution. Is this a "I cannot open my ports even if I tried" kind of problem?
===========================================================================================
EDITS:
[SOLUTION] The problem was that I was under a CGNAT, so asking the ISP to assign me a dynamic IP solved the problem.