1. These forums are still being retired! Please use GitHub discussions or Discord. You cannot create new threads or new accounts now. If you need to contact some user of the forums, you should do it sooner, rather than later. This notice was last updated on May 30th, 2021.

Friends can't join my server

Discussion in 'Help and Support' started by DealWithIt, Mar 23, 2015.

  1. DealWithIt

    DealWithIt Level 0

    Joined:
    Mar 23, 2015
    Messages:
    3
    I wanted to host a tshock server for my friends and me on my computer but they cant join although I followed the installation instructions. I have no problem joining it using "localhost" but I cant join using my external IP adress from www.whatismyip.com.
    I forwarded the port like this:
    [​IMG]
    And it also wasnt blocked in the windows firewall:
    [​IMG]
    Then I realized that the IP adress in the title was 0.0.0.0:7777 so I used a batch file (http://pastebin.com/W1tV4WJs) to start it but since then I couldn't use "localhost" to join my server but my IPv4 adress worked. Nevertheless I couldnt use my external IP adress to join.
    I'm using Windows 7 and tshock 4.2.9.

    ServerLog.txt: http://pastebin.com/kE8M3MLp
    2015-03-23_17-20-36.log: http://pastebin.com/H4KMarbT

    Please help me. Thank you in advance and sorry for any mistakes because english isnt my native language.
     
  2. Olink

    Olink Admin note: Actually a really nice person now

    Joined:
    Jul 21, 2011
    Messages:
    1,397
    Uhhh, if you set the ip that TShock is bound to, as you did with your script, it will only allow connections on that, not on 127.0.0.1 (localhost) or your external (65.12.34.123) ip. You should use a port forward checker to ensure that the port is open, as I imagine you have incorrectly set up your port forwards.
     
  3. DealWithIt

    DealWithIt Level 0

    Joined:
    Mar 23, 2015
    Messages:
    3
    thank you for your response
    so i dont need this script and i only need to check my port forwarding?
     
  4. nicatronTg

    nicatronTg Shank / hakusaro
    TShock Founder TShock Admin

    Joined:
    Jul 21, 2011
    Messages:
    723
    Your port forwarding is probably fine -- change the script to be "-ip 0.0.0.0" (all interfaces) instead of your local IP.
     
  5. Olink

    Olink Admin note: Actually a really nice person now

    Joined:
    Jul 21, 2011
    Messages:
    1,397
    If that was the issue why would he need the script in the first place considering we listen on all interfaces (0.0.0.0) by default.

    Do you have two different internet devices (wireless and eth) ? Are you sure you are using the correct external IP to connect? There are a lot of unknowns and we aren't really built to support you with correctly establishing your network. We will try our best, but it might be better to find another site in your native language for setting up networks.
     
    #5 Olink, Mar 23, 2015
    Last edited: Mar 23, 2015
  6. nicatronTg

    nicatronTg Shank / hakusaro
    TShock Founder TShock Admin

    Joined:
    Jul 21, 2011
    Messages:
    723
    It could be possible that your IP changed. If that's the case, you have two options:
    1. Change your IP in your port forwarding settings to match your new link local IP, and add a DHCP reservation in your router for your MAC address to that IP.
    2. Keep the IP you have, and configure a static IP on computer.
    Specifying 0.0.0.0 (all interfaces) at least verifies that you aren't shooting yourself in the foot by having multiple IPs being set and a mess somewhere in the mix. To clarify, the script isn't needed to set a 0.0.0.0 IP, but if you're explicitly defining it you can keep it that way as 0.0.0.0.
     
  7. DealWithIt

    DealWithIt Level 0

    Joined:
    Mar 23, 2015
    Messages:
    3
    Thank you for your answers but I just read that my problem is something else. I use a DS-Lite connection and because of a CGN IPv4 port forwarding is effectless. As far as I understood it people only can connect to my servers via IPv6 :/
     
    • Informative Informative x 1
  8. Trevor64

    Trevor64 Level 0

    Joined:
    Aug 7, 2015
    Messages:
    2
    For terraria 1.3 you dont need to port forward anymore it works without it now but either it says connecting if theyre joining using my Pub ip and joining (then my steam name) And both of those just stay like that and dont change. without tshock it works but for some reason this isnt working :/