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, 06:28

Putting server online .. Need help

Post by City »

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
Knight
Knight
Posts: 502
Joined: 04 Jan 2009, 20:04
Location: USA, North Carolina

Re: Putting server online .. Need help

Post by baseballboy »

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, 06:28

Re: Putting server online .. Need help

Post by City »

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
Warrior
Warrior
Posts: 347
Joined: 18 Dec 2009, 20:14
Contact:

Re: Putting server online .. Need help

Post by Dark_Mag »

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, 06:20
Location: California, USA

Re: Putting server online .. Need help

Post by Frost »

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, 06:28

Re: Putting server online .. Need help

Post by City »

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
Warrior
Warrior
Posts: 268
Joined: 05 Apr 2011, 21:20
Location: Elsewhere

Re: Putting server online .. Need help

Post by yubabax116 »

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, 06:28

Re: Putting server online .. Need help

Post by City »

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
Manasource
Manasource
Posts: 4209
Joined: 01 Nov 2007, 17:35
Location: Internet

Re: Putting server online .. Need help

Post by Jaxad0127 »

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
Manasource
Manasource
Posts: 4209
Joined: 01 Nov 2007, 17:35
Location: Internet

Re: Putting server online .. Need help

Post by Jaxad0127 »

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

Re: Putting server online .. Need help

Post by meway »

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