Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
The easiest way to find the right one is just to type "what's my IP" into google. That'll show you your "Public IP", which, if you have port forwarding set up correctly will be the one your friend needs.
If this one still doesn't work your server may be set up wrong. I'm not well versed with tModLoader though, so I'm much help in that department.
Edit: Oh, so it's your router that's the issue?
Well for some reason, it was working fine last night with the regular ip that I was using. Then after my internet crashed, I didn't check the server afterwards. So this morning I tried and it just wouldn't connect when I tried to connect to that IP. So I looked up some stuff and apparently resetting my router switched my ip to 127.0.0.1. Any way to switch it back...?
Oh, do you have port forwarding up by the way?
I think only 2 computers are connected but the one I use is the main one. How do I check if I have port forwarding up?
Now since your internet rebooted the 127.0.0.1 might have been asign to the other computer.
try to connect with 127.0.0.2
If it was working fine without it, it's probably not necessary. I had to set it up to fix a different IP-related issue (my router kept assigning multiple computers in my network to the same IP...).
When you open the tmodloader server command console it asks you to portforward and I say yes to it. But it keeps using 127.0.0.1 as the default IP
you can do 2 things:
1. use Hamachi (see their docs) and let your friends connect to your local IP while using Hamachi (Your PC -> cmd -> "ipconfig" -> look for an address like 192.168.X.X or 10.X.X.X or 172.X.X.X)
2. Set up port forwarding on your router (port 7777 or your custom port) to your computer and let your friend connect to your public IP (google whatsmyip)
The first one is easier to set up and a bit more secure, the second one is more convenient once it is set up (can greatly lower your security if configured improperly)
Note that tModLauncher Server needs to be configured with your local IP in both cases (Your PC -> cmd -> "ipconfig" -> look for an address like 192.168.X.X or 10.X.X.X or 172.X.X.X) otherwise with localhost it will only allow connections from your computer.