Page 1 of 1

Putting server online .. Need help

Posted: 09 Jul 2011, 04:41
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

Re: Putting server online .. Need help

Posted: 09 Jul 2011, 05:41
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.

Re: Putting server online .. Need help

Posted: 09 Jul 2011, 07:38
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?

Re: Putting server online .. Need help

Posted: 09 Jul 2011, 14:55
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

Re: Putting server online .. Need help

Posted: 09 Jul 2011, 16:40
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.

Re: Putting server online .. Need help

Posted: 10 Jul 2011, 01:39
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 .

Re: Putting server online .. Need help

Posted: 10 Jul 2011, 04:34
by yubabax116
Maybe its the port, the port for tmw is 6901 try that. :)

Re: Putting server online .. Need help

Posted: 10 Jul 2011, 07:50
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 . :?

Re: Putting server online .. Need help

Posted: 10 Jul 2011, 07:55
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.

Re: Putting server online .. Need help

Posted: 11 Jul 2011, 13:58
by Jaxad0127
Make your char-server connect to the login-server at localhost, and make it's IP your public one.

Re: Putting server online .. Need help

Posted: 11 Jul 2011, 16:55
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.