EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Windows Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=587)
-   -   Can't Connect to Server (https://www.eqemulator.org/forums/showthread.php?t=20881)

Tsunamic_Tuna 06-25-2006 12:02 PM

Can't Connect to Server
 
People that try to connect to my server are booted back to the login screen.
But people that are part of my LAN can connect and play just fine with no problems.

I tried doing the nat-fix using no-ip but that obviously didn't work as they still can't connect to my server.

I followed step-by-step instructions that are posted for natfix and for the setup of the 7.0 server on the eqemulator home page... The only difference being that i'm using mysql 4.0.24 instead of 4.0.23 but the database works fine so that shouldn't be a problem right?

Yes, I am behind a router but I am also DMZ host. I have made the forwarding changes needed to my router for 9000, 7000-7999, and 5999. Protocol for the forwarding is UDP...

Anyways, any help would be great.

Thanks,
Tsunamic Tuna

Angelox 06-25-2006 12:10 PM

Quote:

Originally Posted by Tsunamic_Tuna
People that try to connect to my server are booted back to the login screen.
But people that are part of my LAN can connect and play just fine with no problems.

I tried doing the nat-fix using no-ip but that obviously didn't work as they still can't connect to my server.

I followed step-by-step instructions that are posted for natfix and for the setup of the 7.0 server on the eqemulator home page... The only difference being that i'm using mysql 4.0.24 instead of 4.0.23 but the database works fine so that shouldn't be a problem right?

Yes, I am behind a router but I am also DMZ host. I have made the forwarding changes needed to my router for 9000, 7000-7999, and 5999. Protocol for the forwarding is UDP...

Anyways, any help would be great.

Thanks,
Tsunamic Tuna

Sounds a little contradictive;
If you gave DMZ host privileges to your EQEMU server machine, then you should not be directing ports anywhere. What DMZ host feature does, is remove the routers firewall and expose all ports to the internet for one machine in your LAN.

Tsunamic_Tuna 06-25-2006 12:33 PM

Lol. Thats exactly what I thought... I swear. But everyone kept telling the that I had to do something with ports or no-ip in order for it to work...

But still... If the router isnt the reason, then why cant remote places connect to my server?

Angelox 06-25-2006 12:47 PM

Quote:

Originally Posted by Tsunamic_Tuna
Lol. Thats exactly what I thought... I swear. But everyone kept telling the that I had to do something with ports or no-ip in order for it to work...

But still... If the router isnt the reason, then why cant remote places connect to my server?

You must be connected to loginserver if they are seeing you there, and you must have some setting somewhere that points to your servers' local IP and not the Internet IP- this is probaly why your can log in from the LAN. Did you setup your eqemeu_config.xml? you should be using the full version, and altered to your server - theres an eqemeu_config.xml.full, whch you set up and change to eqemeu_config.xml.
Also did you fix up you server machines HOST file?

Tsunamic_Tuna 06-25-2006 01:00 PM

Yes, I did both. Let me show you what i did...

Here is my config file...

Quote:

<?xml version="1.0">
<server>
<world>
<shortname>setme</shortname>
<longname>Blades of Fire</longname>

<!-- Only specify these two if you really think you need to. (read: You don't) -->
<!-- <address>bladesoffire.no-ip.info</address> -->
<!-- <localaddress>192.168.15.104</localaddress> -->

<!-- Loginserver information. Defaults shown -->
<loginserver>
<host>eqemulator.net</host>
<port>5998</port>
<account>Bladesoffire</account>
<password>{CENSORED}</password>
</loginserver>

<!-- Server status. Default is unlocked -->
<!--<locked/>-->
<!-- <unlocked/> -->

<!-- Sets the ip/port for the tcp connections. Both zones and console (if enabled). Defaults are shown -->
<tcp ip="localhost" port="9000" telnet="disable"/>

<!-- Sets the shared key used by zone/launcher to connect to world -->
<key>some long random string</key>

<!-- Enable and set the port for the HTTP service. Defaults are shown -->
<http port="9080" enabled="false" mimefile="mime.types" />
</world>

<!-- Chatserver (channels) information. Defaults shown -->
<chatserver>
<host>channels.eqemulator.net</host>
<port>7778</port>
</chatserver>

<!-- Mailserver (in-game mail) information. Defaults shown -->
<mailserver>
<host>channels.eqemulator.net</host>
<port>7779</port>
</mailserver>

<zones>
<defaultstatus>20</defaultstatus>

<!-- Sets port range for world to use to auto configure zones -->
<ports low="7000" high="7100"/>
</zones>

<!-- Database configuration, replaces db.ini. Defaults shown -->
<database>
<host>localhost</host>
<port>3306</port>
<username>eq</username>
<password>eq</password>
<db>peq</db>
</database>

<!-- Launcher Configuration -->
<launcher>
<!-- <logprefix>logs/zone-</logprefix> -->
<!-- <logsuffix>.log</logsuffix> -->
<!-- <exe>zone.exe or ./zone</exe> -->
<!-- <timers restart="10000" reterminate="10000" initial="20000" interval="2000"> -->
</launcher>

<!-- File locations. Defaults shown -->
<files>
<!-- <spells>spells_us.txt</spells> -->
<!-- <opcodes>opcodes.conf</opcodes> -->
<!-- <logsettings>log.ini</logsettings> -->
<!-- <eqtime>eqtime.cfg</eqtime> -->
</files>
<!-- Directory locations. Defaults shown -->
<directories>
<!-- <maps>Maps</maps> -->
<!-- <quests>quests</quests> -->
<!-- <plugins>plugins</plugins> -->
</directories>
</server>
Quote:

# Copyright (c) 1993-1999 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host

127.0.0.1 localhost
192.168.15.104 bladesoffire.no-ip.info

Tsunamic_Tuna 06-25-2006 02:30 PM

Ok so I put my ip in the xml configs and now my zones are getting 10061 error's... Now they know where to look for to find the world server, but it seems like they cant find it.. B/c, they are getting errors.. lol

Code:

<?xml version="1.0">
<server>
<world>
<shortname>setme</shortname>
<longname>Blades of Fire</longname>

<!-- Only specify these two if you really think you need to. (read: You don't) -->
<!-- <address>some.server.com</address> -->
<!-- <localaddress>192.168.0.5</localaddress> -->

<!-- Loginserver information. Defaults shown -->
<loginserver>
<host>eqemulator.net</host>
<port>5998</port>
<account>Bladesoffire</account>
<password>{CENSORED}</password>
</loginserver>

<!-- Server status. Default is unlocked -->
<!--<locked/>-->
<!-- <unlocked/> -->

<!-- Sets the ip/port for the tcp connections. Both zones and console (if enabled). Defaults are shown -->
<tcp ip="____MY IP____" port="9000" telnet="disable"/>

<!-- Sets the shared key used by zone/launcher to connect to world -->
<key>some long random string</key>

<!-- Enable and set the port for the HTTP service. Defaults are shown -->
<http port="9080" enabled="false" mimefile="mime.types" />
</world>

<!-- Chatserver (channels) information. Defaults shown -->
<chatserver>
<host>channels.eqemulator.net</host>
<port>7778</port>
</chatserver>

<!-- Mailserver (in-game mail) information. Defaults shown -->
<mailserver>
<host>channels.eqemulator.net</host>
<port>7779</port>
</mailserver>

<zones>
<defaultstatus>20</defaultstatus>

<!-- Sets port range for world to use to auto configure zones -->
<ports low="7000" high="7100"/>
</zones>

<!-- Database configuration, replaces db.ini. Defaults shown -->
<database>
<host>localhost</host>
<port>3306</port>
<username>eq</username>
<password>eq</password>
<db>peq</db>
</database>

<!-- Launcher Configuration -->
<launcher>
<!-- <logprefix>logs/zone-</logprefix> -->
<!-- <logsuffix>.log</logsuffix> -->
<!-- <exe>zone.exe or ./zone</exe> -->
<!-- <timers restart="10000" reterminate="10000" initial="20000" interval="2000"> -->
</launcher>

<!-- File locations. Defaults shown -->
<files>
<!-- <spells>spells_us.txt</spells> -->
<!-- <opcodes>opcodes.conf</opcodes> -->
<!-- <logsettings>log.ini</logsettings> -->
<!-- <eqtime>eqtime.cfg</eqtime> -->
</files>
<!-- Directory locations. Defaults shown -->
<directories>
<!-- <maps>Maps</maps> -->
<!-- <quests>quests</quests> -->
<!-- <plugins>plugins</plugins> -->
</directories>
</server>


&& This is exactly whats happening to the zone server.

Code:

---------------------------------------------
[06.25. - 17:57:45] Starting Log: logs/eqemu_debug_4012.log
[06.25. - 17:57:45] [LAUNCHER__INIT] Loading server configuration..
[06.25. - 17:57:47] [NET__WORLD] WorldConnection connect: Connecting to the server _____MY IP____: TCPConnection::Connect(): connect() failed. Error: 10061
[06.25. - 17:57:47] [LAUNCHER__ERROR] worldserver.Connect() FAILED! Will retry.
[06.25. - 17:57:47] [LAUNCHER__INIT] Starting main loop...
----------------------------------------------

What do I do now?

Angelox 06-25-2006 02:55 PM

<tcp ip="____MY IP____" port="9000" telnet="disable"/>

"____MY IP____" should be your exterior IP or if you got a dynamic DNS, better - by exterior, I mean what your ISP gave you.

here's exactly what i put in my hosts, and use the same order;
---------
192.168.2.100 blackwater.dynip.com
127.0.0.1 blackwater.dynip.com
127.0.0.1 localhost
---------

try this while I look at the rest of your post - use your own machine ip/dns though :)

Angelox 06-25-2006 02:58 PM

<key>some long random string</key>

put a random string in here!

example: <key>122jsdhdefkflew676883ksjhs8is98s</key>

Tsunamic_Tuna 06-25-2006 03:21 PM

it still has the same error and everything after that... still clueless...

Angelox 06-25-2006 03:34 PM

Are you sure they are using Everquest Titanium?

Tsunamic_Tuna 06-25-2006 03:36 PM

yes. because they can connect to every other server in the server select just fine. just not mine for some reason... it boots them back to login screen

Angelox 06-25-2006 03:47 PM

Let me see your eqemu_debug_zone log

Tsunamic_Tuna 06-25-2006 03:54 PM

Code:

---------------------------------------------
[06.25. - 21:39:49] Starting Log: logs/eqemu_debug_1208.log
[06.25. - 21:39:49] [LAUNCHER__INIT] Loading server configuration..
[06.25. - 21:39:50] [NET__WORLD] WorldConnection connect: Connecting to the server {MYIPCENSORED}:9000 failed: TCPConnection::Connect(): connect() failed. Error: 10061
[06.25. - 21:39:50] [LAUNCHER__ERROR] worldserver.Connect() FAILED! Will retry.
[06.25. - 21:39:50] [LAUNCHER__INIT] Starting main loop...

There it is...

Angelox 06-25-2006 04:02 PM

another thing, are you using a Linksys router? did you clear all the fields in the ports you were redirecting? Linksys gets buggy and does strange things , I've had to reset my router completely in order to get it to work properly - it looks like your are not connecting at all to the log in server?
Also, sometimes ISPS block all your ports and just let you use browser ports.

Tsunamic_Tuna 06-25-2006 04:03 PM

Yes, we are using a linksys router... Im going to try that and see if it works. Thank you :)

Tsunamic_Tuna 06-25-2006 04:07 PM

Ok so I clearned all of the port routing settings and im still getting error 10016... Should I reset the whole router? Or does that seem unneeded?

And did you look at my xml configs and make sure all that lined up? Im not sure if it does lol.

----- EDIT ------
Ok and I checked the loginserver to see if its connecting... It is... The worldserver is connecting to the loginserver... Its just locked b/c there are no zone files... And there are no zones connected to the world server b/c of error 10016 which has something to do with the zones not finding the world server or something...

Angelox 06-25-2006 04:26 PM

I'm just trying to drill you through all the problems I have had and seen - I'm not using DMZ host on my Linksys , just redirecting ports.
Maybe if you tried the newest binaries from here:
http://www.eqemulator.net/download.php
but you would also need to read the changelogs and source the lines recomended. There are at least three changelogs that have lines to be sourced
The log you attached does not provide enough info.
When you first start up world.exe, does it mention an internet IP as a world address? also the World Zone TCP connections are from your LAN IP and not 127.0.0.1? In fact , in the World.exe window, there should be no mention of "localhost" or "127.0.0.1"

Tsunamic_Tuna 06-25-2006 04:32 PM

No, actually when I start up worldserver it mentions localhost... This is what it says:

Code:

[Status] Using database 'peq' at localhost:3306
[Status] EMuShareMem loaded
[Status] Loading items from database: count=54535

But thats just talking about the Database right?

Angelox 06-25-2006 04:51 PM

Yea, that part is ok, same here. but what about the rest?
Also, it could very well be your LinkSys too. I had something similar happen one time. did you clear port triggering and port range fowarding too?
You might want to try removing the DMZ and go back to the port fowarding again. If you do, look where auto zone port config says; telling zone to to use port xxxx , and direct those ports too.

Tsunamic_Tuna 06-25-2006 05:09 PM

Here are my problem codes lol. It's a bit repetitive but it should make it easier to have everything right here than scattered across the thread.


eqemu_config.xml
Code:

<?xml version="1.0">
<server>
        <world>
                <shortname>setme</shortname>
                <longname>Blades of Fire</longname>

                <!-- Only specify these two if you really think you need to.  (read: You don't) -->
                <!-- <address>some.server.com</address> -->
                <!-- <localaddress>192.168.0.5</localaddress> -->

                <!-- Loginserver information.  Defaults shown -->
                <loginserver>
                        <host>eqemulator.net</host>
                        <port>5998</port>
                        <account>Bladesoffire</account>
                        <password> {CENSORED} </password>
                </loginserver>

                <!-- Server status.  Default is unlocked -->
                <!--<locked/>-->
                <!-- <unlocked/> -->

                <!-- Sets the ip/port for the tcp connections.  Both zones and console (if enabled).  Defaults are shown -->
                <tcp ip=" {CENSORED} " port="9000" telnet="disable"/>

                <!-- Sets the shared key used by zone/launcher to connect to world -->
                <key> {CENSORED} </key>

                <!-- Enable and set the port for the HTTP service.  Defaults are shown -->
                <http port="9080" enabled="false" mimefile="mime.types" />
        </world>

        <!-- Chatserver (channels) information.  Defaults shown -->
        <chatserver>
                <host>channels.eqemulator.net</host>
                <port>7778</port>
        </chatserver>

About eqemu_config: Should I use no-ip.com if I have a static IP?
When i'm setting up ports in Linksys, do I copy all of the ports from here?


zone log
Code:

---------------------------------------------
[06.26. - 01:00:19] Starting Log: logs/eqemu_debug_0364.log
[06.26. - 01:00:19] [LAUNCHER__INIT] Loading server configuration..
[06.26. - 01:00:20] [NET__WORLD] WorldConnection connect: Connecting to the server {CENSORED} :9000 failed: TCPConnection::Connect(): connect() failed. Error: 10061
[06.26. - 01:00:20] [LAUNCHER__ERROR] worldserver.Connect() FAILED! Will retry.
[06.26. - 01:00:20] [LAUNCHER__INIT] Starting main loop...

About zone log: Does it look like what I said it was? Does it look like it just can't find the world server? And, does that make sense b/c obviously the login server finds the world server... I dunno. Its just wierd.

Also, when my friend tries to join, it says it looks like its about to let him in the game (the gamma of the monitor changes) but then it kicks him back out... Is that because there are no zone files? And does that mean that he's at least somewhat connecting to the world file?

world.exe
Code:

[Status] Using database 'peq' at localhost:3306
[Status] EMuShareMem loaded
[Status] Loading items from database: count=54535

About world.exe: So my world.exe file is perfectly legit? That sucks, lol. I was hoping something would be wrong with it so I could fix it...

Anyways, i'm about to try to un-dmz the server and route everything directly to it... If that doesn't work, then i'll completely reset the router. && if that doesn't work then im getting a different router... This thing is putting me through too many changes lol.

Tsunamic_Tuna 06-25-2006 05:21 PM

Ok and I also did as you told me to do as far as changing up some router settings. I disabled DMZ host and I did this:

http://www.weupload.com/uploads/reuterforwarding.GIF

What do you think? Is that correct? Or am I just too slow to function.

------ EDIT ------
AND I guess it didn't work because the zones are still doing the exact same thing they did before... So that leads me to move on to the next step... Resetting the router completely. Wish me luck. Lol. Im going to need it with this satanic piece of crap.

Cripp 06-26-2006 05:03 AM

Code:

<!-- Only specify these two if you really think you need to. (read: You don't) -->
<!-- <address>bladesoffire.no-ip.info</address> -->
<!-- <localaddress>192.168.15.104</localaddress> -->

change to..

Code:

<!-- Only specify these two if you really think you need to. (read: You don't) -->
<address>bladesoffire.no-ip.info</address>
<localaddress>192.168.15.104</localaddress>


rojadruid 06-26-2006 05:53 AM

Quote:

Originally Posted by Tsunamic_Tuna
People that try to connect to my server are booted back to the login screen.
But people that are part of my LAN can connect and play just fine with no problems.

I tried doing the nat-fix using no-ip but that obviously didn't work as they still can't connect to my server.

I followed step-by-step instructions that are posted for natfix and for the setup of the 7.0 server on the eqemulator home page... The only difference being that i'm using mysql 4.0.24 instead of 4.0.23 but the database works fine so that shouldn't be a problem right?

Yes, I am behind a router but I am also DMZ host. I have made the forwarding changes needed to my router for 9000, 7000-7999, and 5999. Protocol for the forwarding is UDP...

Anyways, any help would be great.

Thanks,
Tsunamic Tuna

Part of whats wrong that I can see is that you also need TCP on those ports as well.

Tsunamic_Tuna 06-26-2006 05:58 AM

And that can only be one if the router allows it right?

Wait... Ok so the router lets me make it both UDP and TCP... Should I do that?

Tsunamic_Tuna 06-26-2006 06:06 AM

Quote:

Code:

<!-- Only specify these two if you really think you need to. (read: You don't) -->
<!-- <address>bladesoffire.no-ip.info</address> -->
<!-- <localaddress>192.168.15.104</localaddress> -->

change to..


Code:

<!-- Only specify these two if you really think you need to. (read: You don't) -->
<address>bladesoffire.no-ip.info</address>
<localaddress>192.168.15.104</localaddress>


Ok I tried that, and i'm still getting error 10016.

Quote:

Part of whats wrong that I can see is that you also need TCP on those ports as well.
I tried that also... Didn't work.

Thanks for the help everyone. :)

Tsunamic_Tuna 06-26-2006 06:50 AM

Ok i completely reset the router and it still isn't working...
Also, with the no-ip host, what server type should it be set on?

DNS Host (A)
DNS Host (Round Robin)
DNS Alias (CNAME)
Port 80 Redirect
or
Web Redirect

Thanks!


All times are GMT -4. The time now is 01:24 PM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.