EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Windows Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=587)
-   -   need some help with configuration (https://www.eqemulator.org/forums/showthread.php?t=39868)

Davood 07-20-2015 02:40 AM

need some help with configuration
 
Simple version:
i updated my db and codebase to current code. now people can't login to my server

Explanation:
If I connect from inside the lan pretending im going to the internet. I can
1. connect to char select
2. connect to zone and play around in game

If i connect purely from outside the lan I can
1. connect to char select
2. free ride back to login screen, do not pass go.
3. server doesn't tell me aynthing useful, it thinks everything is good.


the catch:
just before i updated my db and codebase, people were abel to connect to my server. i have not changed my configs on router, and my internal and external ips are the same

i'm out of research options, i need expert advice please!

N0ctrnl 07-20-2015 02:54 AM

Are your zones still using the same ports in the database? Sounds like a port forwarding issue on your router.

Kailow 07-20-2015 03:28 AM

just an update, as of 12:32am PST (Monday, July 20th), it still has issues connecting. Same old "Server is not responding" and a quick "You have been disconnected from the server"

Davood 07-20-2015 09:27 AM

Quote:

Originally Posted by N0ctrnl (Post 241878)
Are your zones still using the same ports in the database? Sounds like a port forwarding issue on your router.

yes nothing in the DB for launcher_zones has changed.

the config xml file has the same ports as before and router is setup the same as before

here are my configs

windows 7x64 is server os, firewall is disabled.
server is ip address 192.168.1.107 internally and
99.248.99.238 externally

router
http://www.alakamin.com/asdfasdf.png

xml
Code:

<?xml version="1.0">
<server>
        <world>
                <shortname>MDB</shortname>
<!--                <longname>[FV]Alakamin-UBERCRAWL-150Races/BOTS/L100/50Tier</longname> !-->
                    <longname>[FV]Alakamin-UBERCRAWL-50tier-572Zones-150Races</longname>
  <!-- <longname>[FV] Alakamin-Progression-50+ Custom Races- NO DL<--- max length -->
                <!-- Only specify these two if you really think you need to.  (read: You don't) -->
                <address>99.248.99.238</address>
                <localaddress>192.168.1.107</localaddress>

                <!-- Loginserver information.  Defaults shown -->
                <loginserver>
                        <host>eqemulator.net</host>
                        <port>5998</port>
                        <account>NOT THE REAL INFO</account>
                        <password>NOT THE REAL INFO</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="127.0.0.1" port="9000" telnet="enabled"/>

                <!-- Sets the shared key used by zone/launcher to connect to world -->
                <key>NOT THE REAL INFO</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>99.248.99.238</host>
                <port>7778</port>
        </chatserver>

        <!-- Mailserver (in-game mail) information.  Defaults shown -->
        <mailserver>
                <host>99.248.99.238</host>
                <port>7778</port>
        </mailserver>

        <zones>
                <defaultstatus>0</defaultstatus>

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

        <!-- Database configuration, replaces db.ini.  Defaults shown -->
        <database>
                <host>127.0.0.1</host>
                <port>3306</port>
                <username>NOT THE REAL INFO</username>
                <password>NOT THE REAL INFO</password>
                <db>NOT THE REAL INFO</db>
        </database>
       
        <qsdatabase>
                <host>127.0.0.1</host>
                <port>3306</port>
                <username>NOT THE REAL INFO</username>
                <password>NOT THE REAL INFO</password>
                <db>NOT THE REAL INFO</db>
        </qsdatabase>
       
        <!-- Launcher Configuration -->
        <launcher>
                <!-- <logprefix>logs/zone-</logprefix> -->
                <!-- <logsuffix>.log</logsuffix> -->
                <!-- <exe>zone.exe or ./zone</exe> -->
                <!-- <timers restart="10000" reterminate="10000"> -->
        </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>


Davood 07-20-2015 09:29 AM

also i agree something is weird with teh zoner server(s) it (they) can't connect to the outside internet anymore

Davood 07-20-2015 09:40 AM

zone status
http://www.alakamin.com/asdf.png

ports seem to be correct?

Davood 07-20-2015 10:05 AM

added ports 5998 to 6000 to the pass through to 192.168.1.107 just now. didn't help
tried DMZ to 192.168.1.107 as well to see if there were some magic ports i forgot, also didn't help.

seems i can still only connect to zone servers from inside the network and not outside.
it has to be some simple stupid configuration slipup that somehow made its way in with the code and db updates. is there some db setting that locks the zone servers that was added in the last year that i dont know about?

Lodor 07-20-2015 10:10 AM

I recall this happening on other servers after a big update. I cant recall the exact fix but it was some small line of code that made it so no external could log in. Ill try to find the old posts talking about it.

Davood 07-20-2015 10:21 AM

tried setting eqemu xml to listen at port 5999 - didnt appear in server list, so changed back to 5998

then tried also changing the passthrough to route 5998 to 6000 to local port of 5998, same problem of not connecting to zone server. so i changed it back

latest bit of testing:
if i connect locally and watch the command window box, the clients immediately goes from 0 to 1 when i zone into game. if i conenct remotely it stays at 0 when i click enter world... so there is something blocking me from accessing the zone server. but what is it?!?!?!?!???????????????? i feel like a nuub

Lodor 07-20-2015 10:25 AM

For some reason I think it has to do with flagging as admin vs normal accounts. It is how some "beta" test without the general public getting full access also when the server is up.

Davood 07-20-2015 10:26 AM

well my status 250 account has the same problem as my status 0 account. checked that just now

Lodor 07-20-2015 10:27 AM

http://www.eqemulator.org/forums/showthread.php?t=39693

Check this thread

Davood 07-20-2015 10:41 AM

flagging account from command line seems to not help

chrsschb 07-20-2015 10:42 AM

Has your server always functioned with these values defined?

Code:

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

I've had situations where port/IP changes take a while to replicate. But I assume you've accounted for that.

Can you actually get to character select? As in see characters? If not it's definitely a port or firewall issue. I had an issue with my 2012R2 server where I had to manually reinstall every instance of the firewall service because it was preventing incoming connections (even though I had it disabled).

Something to think about.

Davood 07-20-2015 11:09 AM

Quote:

Originally Posted by chrsschb (Post 241896)
Has your server always functioned with these values defined?

Code:

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

I've had situations where port/IP changes take a while to replicate. But I assume you've accounted for that.

Can you actually get to character select? As in see characters? If not it's definitely a port or firewall issue. I had an issue with my 2012R2 server where I had to manually reinstall every instance of the firewall service because it was preventing incoming connections (even though I had it disabled).

Something to think about.

i can get to char select from "the outside" of the lan
I can get to char select AND into the game from "the inside" of the lan
and yes i've always used these settings

should i unspecify them? generally that causes a lack of being able to connect. I will try that now.
booting
connecting (from external ip)
char select success (wtf.. im excited!)
trying to enter world
success.

wtf that was simple
"chrsschb" i am a big retard. thank you for pointing out the obvious haha... how come it worked perfectly fine for years?!?!?!


All times are GMT -4. The time now is 02:34 AM.

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