Strange server problem.

Discussion in 'Server Discussion' started by 44tim44, Apr 30, 2010.

  1. 44tim44

    44tim44 L1: Registered

    Messages:
    13
    Positive Ratings:
    0
    Hi everyone, I'm new to the server scene, but today, I finally managed get a server online.

    I know this for a fact, since some random player joined my server.

    Since I was happy my server was finally working, I asked my friend to join me on my new server.
    Here comes the problem:
    I gave him my servers IP address from "whatismyip.org" and it didn't work.
    Not by simply joining it or using the console command "connect".

    He tried joining me through he friends tab, and through the steam chat window.
    Nothing worked.

    But how then, was the random player who joined me able to join?


    Help would be MUCH appreciated.


    44tim44~
     
  2. MrAlBobo

    MrAlBobo L13: Stunning Member

    Messages:
    1,059
    Positive Ratings:
    219
    http://forums.tf2maps.net/showthread.php?t=4001
    my guide ;)

    as for the random person joining...i really couldn't say how, but i have seen the occasional random person get in while I had a firewall up, so...you should probably put that down to fluke
     
  3. 44tim44

    44tim44 L1: Registered

    Messages:
    13
    Positive Ratings:
    0
    Well, I tried turning off my software Firewall, but I though that by DMZ, the hardware firewall, was disabled for that IP too?
     
  4. MrAlBobo

    MrAlBobo L13: Stunning Member

    Messages:
    1,059
    Positive Ratings:
    219
    yeah, having dmz on should disable the hardware firewall, though its a terrible idea to leave it on all the time <_<

    if you have all the firewalls off your most likely culprit should be port forwarding (dmz should also do this, but ive found it frequently doesn't work), or you might have one of the annoying routers that requires you to set up virtual servers...
    eh...it should all be in the guide, so im not going to retype it :p
     
  5. 44tim44

    44tim44 L1: Registered

    Messages:
    13
    Positive Ratings:
    0
    Well, yeah, I'd actually already read your guide before you posted here.
    I've got a D-Link DI-624+.
    And I already have Virtual Servers set up since my attempt on a CSS server.

    And I've forwarded everything on our router, even looking remotely right.
    And I don't know what else to try....

    And I was so happy, finally having a working server :(
     
  6. MrAlBobo

    MrAlBobo L13: Stunning Member

    Messages:
    1,059
    Positive Ratings:
    219
    hmm...don't know that specific one...but d-links tend to suck for hosting servers...

    basically you have ports forwarded, you have a static ip, your software firewall is off and you can confirm its entirely off (they can lie), you have virtual servers at the right places, you have your computer set to dmz, you have your router set to accept all inbound ips, and you have it set to respond to wan ping requests. Beyond that all you can really do is keep playing with the other firewall/filtering settings and hope it works...

    Id suggest adding a few more virtual servers perhaps, you "need" them at 27015 and 27010 minimum.

    And lolz and me still remembering all this. ;)
     
  7. 44tim44

    44tim44 L1: Registered

    Messages:
    13
    Positive Ratings:
    0
    Well, I'm gonna try everything you said, and some trial and error.

    But even if it doesn't work; thanks anyway for trying to help. :)

    EDIT: Also, tried adding my server to GameTracker.com, when my software firewall was turned off, I was DMZ and had added more visual servers.

    It said this:

    Gametracker could not scan the server.
    One of the following suggestions may help you:
    Your server is currently offline.
    GameTracker needs your server to be online before you can add it to our database. Please restart your server and make sure it's up before hitting ADD SERVER again.
    You entered the wrong query port.
    Please update your query port and hit scan again
    Your server is firewalled.
    Please turn off any firewall you have that may block scanning.

    EDIT2:
    Asked my friend to try to join the server, while I was on the server.
    It said my friend managed to join.
    But his loading-meter froze trying to connect.

    The Server itself, said that he had timed out.

    Then 2 other random people joined the map while I was doing something else, and
    it seems they had no trouble joining.

    What's the problem with my server? :S

    [​IMG]
    Red line = My Friend.
    Other lines = Random players
     
    Last edited: May 1, 2010
  8. MrAlBobo

    MrAlBobo L13: Stunning Member

    Messages:
    1,059
    Positive Ratings:
    219
    post your server.cfg, this might actually be a very very simple fix

    and what your describing is exactly what happens to me while my software firewall is active...
    get that friend to try and ping your computer, see if it goes through

    what im not liking is that your network ip is listed as a local ip and not your external ip...

    check your router to be 100% sure that ports 27000-27050 are forwarded to 192.168.0.100 (i assume thats your computer), and that its using tcp/udp (or it might say both, or have separate settings for both and you just mirror it)

    also, i found this:
    http://portforward.com/english/routers/port_forwarding/Dlink/DI-624+/Half_Life_2_Steam_Server.htm
     
    • Thanks Thanks x 1
    Last edited: May 1, 2010
  9. 44tim44

    44tim44 L1: Registered

    Messages:
    13
    Positive Ratings:
    0
    My server.cfg.

    Code:
    IP *EXTERNAL IP*
    port 27015
    hostname "[-SST-] TF2 server"
    sv_contact "XXXXXXXXXXXXXXXX@gmail.com"
    rcon_password "XXXXXX"
    sv_rcon_log 1
    
    mp_disable_autokick 0
    mp_forcecamera 0
    mp_maxrounds 10
    mp_teams_unbalance_limit 1
    
    mp_timelimit 30
    mp_winlimit 10
    
    sv_consistency 1
    sv_downloadurl "http://www.tf2maps.net/"
    
    sv_lan 0
    sv_region 255
    
    sv_log_onefile 0
    sv_logbans 1
    sv_logfile 1
    
    sv_maxcmdrate 66
    sv_maxrate 8000
    sv_maxupdaterate 66
    sv_mincmdrate 33
    sv_minrate 3000
    sv_minupdaterate 30
     
  10. MrAlBobo

    MrAlBobo L13: Stunning Member

    Messages:
    1,059
    Positive Ratings:
    219
    yeah...im not really seeing anything wrong with the cfg...though ive never declared my ip/port in the cfg, but i can't see that being the problem...

    i don't know...im kinda out of ideas, inclined to believe that portforward link that says your router can't properly run a server...
     
  11. 44tim44

    44tim44 L1: Registered

    Messages:
    13
    Positive Ratings:
    0
    Actually, I think I managed to get my server online, cuz my friend could find it using "favourites".
    I think the problem was that when I arranged my ports on the virtual servers, I used my external IP instead of my internal, I changed that now.

    Do you think that might have been it?
     
  12. MrAlBobo

    MrAlBobo L13: Stunning Member

    Messages:
    1,059
    Positive Ratings:
    219
    i give very good odds of that, as they should definitely be set to your local ip
     
  13. 44tim44

    44tim44 L1: Registered

    Messages:
    13
    Positive Ratings:
    0
    Well, my other friend still can't connect to my server with my new settings, dmz, and shut off AV/software-firewall.

    I don't know what else to do... ;___;
     
  14. MacNetron

    MacNetron L5: Dapper Member

    Messages:
    203
    Positive Ratings:
    47
    The IP shown in the console screenshot is a local IP. That should be the external one.
    We have our servers not having their ip declared on server.cfg or command line. This should make sure they get an external ip automatically.
    Our Ports are defined at command line (for instance with: -port 27015)
    Lastly, srcds.exe has been added to the firewall exceptions.

    You yourself should also try to connect to it on remote ip. If you can do that, then you should be almost there...
     
  15. 44tim44

    44tim44 L1: Registered

    Messages:
    13
    Positive Ratings:
    0
    Thanks a lot for trying to help...
    xD
    I don't understand what you mean though.
    English isn't my first language, so could you simplify what you just said, a little?

    Thnaks in advance~
     
  16. MrAlBobo

    MrAlBobo L13: Stunning Member

    Messages:
    1,059
    Positive Ratings:
    219
    Ill translate :p

    1. The IP shown in the console screenshot is a local IP. It should instead be the external ip, in other words it should be the one listed at http://www.whatismyip.com/
    2. Your server.cfg is specifying your external ip and ports within it, its a very unusual thing to do. You should remove those lines and it might help.
    3. You can declare the ports as a launch parameter for the server, however should you decide to just use port 27015, then its not necessary, as it defaults there.
    4. Open your software firewall and add whatever program your running the server from to the exceptions list, and allow all connections, try to do the same with the hardware firewall (router) as well if it allows it. Exactly what program to allow depends whether your running it from srcds, or the source dedicated included with steam.
    5. Not 100% sure on this one, perhaps try pinging your ip from another and see if it goes through?


    heres a minimalist server.cfg to try out
     
  17. 44tim44

    44tim44 L1: Registered

    Messages:
    13
    Positive Ratings:
    0
    Oh, Thanks~

    Doesn't help very much though.
    I had already specified the port as a launch parameter...
    I have opened almost everything I can with my SW-Firewall.
    I'll try looking at my HW-Firewall one more time though.

    Removing the lines didn't work, since the problem with the int.IP instead of ext.IP
    is shown in the console, before the server.cfg is loaded.

    EDIT:
    Can't do much more than this with the HW-Firewall:

    Firewall Rules List
    Allow SRCDS *,* *,* *,27000-27050

    (Allows all IPs in both UDP and TCP using ports 27000-27050)
     
    Last edited: May 9, 2010
  18. MacNetron

    MacNetron L5: Dapper Member

    Messages:
    203
    Positive Ratings:
    47
    1-4. That is quite right MrAlBobo! Thnx!

    5. What I meant is that you can see your server on your lan. When you connect to it, you'll probably connect to its local ip (192.x.x.x). Try searching for the server on its external ip and port (with "find games at"). Then connect to it by that external address.
    I'm curious if you experience the same problems this way.
     
  19. 44tim44

    44tim44 L1: Registered

    Messages:
    13
    Positive Ratings:
    0
    I discovered that even though I specified my port as 27015, the real server port was 60049.
    :S

    Anyway, I managed to add my server to gametracker.com, and it recognizes it as Alive/Online,
    So if I'm allowed, then here is the server IP.
    78.70.107.39:60049
    If you feel you have time, try joining it. :3

    Anyway, Thanks you guys, for ALL the help! :D
     
  20. MrAlBobo

    MrAlBobo L13: Stunning Member

    Messages:
    1,059
    Positive Ratings:
    219
    o_O
    ...well...that surprises me <_<