Putting server online .. Need help

Ask for help regarding any technical issue or report any bug or OS independent issues.
Post Reply
User avatar
City
Newly Registered User
Posts: 9
Joined: 07 Jul 2011, 07:28

Putting server online .. Need help

Post by City » 09 Jul 2011, 05:41

Okay .. So I've used Eathena stuff to make my server and it's finally running through my lan . e.g. I connect to 127.0.0.1:6901
But I finally want to put it online so others from the net can join it .. How do I so this??

Thanks :D
User avatar
baseballboy
Warrior
Warrior
Posts: 501
Joined: 04 Jan 2009, 21:04
Location: USA, Alabama

Re: Putting server online .. Need help

Post by baseballboy » 09 Jul 2011, 06:41

You'll need to change the local IP address in your char_local.conf and map_local.conf to your external IP address.(i.e. http://whatsmyip.net/ )
then via your modem and router forward port 6901, 5122, and 6122 to the machine the server is running to. you can find that IP address by running "ip route" in terminal.

That should be it, been a while since I've done it.
BaseBaIIBoy - 99, Zalika - 95, Mou. - 86, baseballboy - 83, Abacus - 82, Laticia - 76

<o11c> More boobs please.
User avatar
City
Newly Registered User
Posts: 9
Joined: 07 Jul 2011, 07:28

Re: Putting server online .. Need help

Post by City » 09 Jul 2011, 08:38

Thanks :)

But when I go to start my server the map-server is ready

Then attempting to connect to char-server , It can't connect to char-server .

Help?
User avatar
Dark_Mag
Novice
Novice
Posts: 347
Joined: 18 Dec 2009, 21:14
Contact:

Re: Putting server online .. Need help

Post by Dark_Mag » 09 Jul 2011, 15:55

City wrote:Thanks :)

But when I go to start my server the map-server is ready

Then attempting to connect to char-server , It can't connect to char-server .

Help?
City,

Check IPs again and again. The problem can be only with them.

Cheers, dark
Image
Image
Frost
TMW Adviser
TMW Adviser
Posts: 851
Joined: 09 Sep 2010, 07:20
Location: California, USA

Re: Putting server online .. Need help

Post by Frost » 09 Jul 2011, 17:40

Dark_Mag wrote: Check IPs again and again. The problem can be only with them.
And when that fails, check IPs again. :lol:

For what it's worth, in my char_local.conf file, I have
/ Server Communication username and password.
userid: myserver
passwd: mypasswd

(and later)

// Login Server IP
login_ip:127.0.0.1
// Login Server Port
login_port: 6901

// Character Server IP
char_ip:x.x.x.x
// Character Server Port
char_port: 6122

(where x.x.x.x is my public IP address)

My map_local.conf file looks like
// Interserver communication passwords, set in account.txt (or equiv.)
userid: myserver
passwd: mypasswd

// Character Server IP
char_ip:127.0.0.1
// Character Server Port
char_port: 6122

// Map Server IP
map_ip:x.x.x.x
// Map Server Port
map_port: 5122


Note in particular that userid, passwd, and char_ip match in both files. Most of my mistakes have been there.
You earn respect by how you live, not by what you demand.
-unknown
User avatar
City
Newly Registered User
Posts: 9
Joined: 07 Jul 2011, 07:28

Re: Putting server online .. Need help

Post by City » 10 Jul 2011, 02:39

Still comes up with

The map-server is ready (Server is listening on the port 5122).

Attempt to connect to char-server...
set eof :4
Map-server can't connect to char-server (connection #4).

You guys have helped heaps so far and thankyou .. But I have no clue what the problem is here .
User avatar
yubabax116
Novice
Novice
Posts: 268
Joined: 05 Apr 2011, 22:20
Location: Elsewhere

Re: Putting server online .. Need help

Post by yubabax116 » 10 Jul 2011, 05:34

Maybe its the port, the port for tmw is 6901 try that. :)
▬▬▬▬▬▬▬▬▬▬▬ஜ۩۞۩ஜ▬▬▬▬▬▬▬▬▬▬▬▬▬
♩ ♪ ♫ ♬ ♭ ♮ ❤Quiet And Enj0:00Y The  Music ❤ ♩ ♪ ♫ ♬ ♭
Yubaba
Chicka-Maria
▬▬▬▬▬▬▬▬▬▬▬ஜ۩۞۩ஜ▬▬▬▬▬▬▬▬▬▬▬▬▬
User avatar
City
Newly Registered User
Posts: 9
Joined: 07 Jul 2011, 07:28

Re: Putting server online .. Need help

Post by City » 10 Jul 2011, 08:50

With the ports , I know there is a few different ones but I've tried like changing the ports to the right ones and everything , but I just don't know . :?
User avatar
Jaxad0127
TMW Adviser
TMW Adviser
Posts: 4209
Joined: 01 Nov 2007, 18:35
Location: Internet

Re: Putting server online .. Need help

Post by Jaxad0127 » 10 Jul 2011, 08:55

yubabax116 wrote:Maybe its the port, the port for tmw is 6901 try that. :)
Login is port 6901. Each server uses a different one. Making them all the same port will prevent two of them from starting.

City: attach (or PM me) both conf files. If you attach, then be sure to sanitize. Remove your public IP (unless you're going to make it widely available anyways), and remove (or replace like Frost did) the username/password combo.
Image
User avatar
Jaxad0127
TMW Adviser
TMW Adviser
Posts: 4209
Joined: 01 Nov 2007, 18:35
Location: Internet

Re: Putting server online .. Need help

Post by Jaxad0127 » 11 Jul 2011, 14:58

Make your char-server connect to the login-server at localhost, and make it's IP your public one.
Image
User avatar
meway
Knight
Knight
Posts: 1736
Joined: 04 Jan 2009, 06:02
Location: Detroit MI
Contact:

Re: Putting server online .. Need help

Post by meway » 11 Jul 2011, 17:55

If it comes up with this error in the client than you need to fill out your lan_local.conf if it is showing you this through the terminal than you incorrectly filled out one of the config files and the servers can not connect to each other.
Post Reply