Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Windows Servers

Support::Windows Servers Support forum for Windows EQEMu users.

Reply
 
Thread Tools Display Modes
  #1  
Old 08-07-2009, 04:00 PM
Shiny151
Hill Giant
 
Join Date: Jul 2009
Location: Indianapolis
Posts: 228
Default LAN plays great, WAN play not so much...

I've recently setup a Windows based XP server using vales guide here:

http://www.eqemulator.net/forums/showthread.php?t=29043

Everything seems to work well on the LAN side of things. I've had multiple XP machines connect with no problems internally. WAN however is another story. I've opened all the proper ports based on some digging within the forums; 5998, 7000-7100 & 9000. Externally (WAN) they can connect and get to the character selection screen and create a character; but once they actually try to enter the world the screen turns black for a period of time and then they get a: "The server is not responding" message and they are kicked back to the server/login screen.

This is happening on external machines using Vista and XP, Intel/AMD single and multi-core cpus. I've come to the conclusion it is most likely a server issue which I cannot figure out.

Does anyone have any advice?
Reply With Quote
  #2  
Old 08-07-2009, 05:50 PM
Angelox
AX Classic Developer
 
Join Date: May 2006
Location: filler
Posts: 2,049
Default

Are you sure the people who are connecting have the proper client?
Have you opened the ports on you router too? Try setting your server PC to DMZ for a while, to test the latter.
Reply With Quote
  #3  
Old 08-07-2009, 09:28 PM
Yeormom
Discordant
 
Join Date: Apr 2004
Location: 127.0.0.1
Posts: 402
Default

It should definately work if your game server is in the DMZ but you'd need other security measures if doing that. Are you forwarding TCP and UDP or what?
__________________
Yeorwned
Bane of Life [Custom Classic/PvP]
Reply With Quote
  #4  
Old 08-08-2009, 12:52 AM
Shiny151
Hill Giant
 
Join Date: Jul 2009
Location: Indianapolis
Posts: 228
Default

Yeah I'm sure because I bought more than one copy for a friend and he's the one who has it. Plus I put another copy on my laptop for testing purposes. I also tried the DMZ idea but I'm getting the same problems. For safe measure I forwarded both TCP and UDP.
Reply With Quote
  #5  
Old 08-08-2009, 11:48 AM
Yeormom
Discordant
 
Join Date: Apr 2004
Location: 127.0.0.1
Posts: 402
Default

If the server was truly in the DMZ, then your problem is related to the IP address you're using in your config files. My guess is you are probably using your local address scheme, like 192.168.x.x in your configuration but when the server tells a client over the Internet or on another network that this is the server IP, the client tries to hit that address which is either non-existant or on his/her own network. You must put a public IP in your configuration file. Easiest way to get your IP address by visiting www.whatsmyip.org.
__________________
Yeorwned
Bane of Life [Custom Classic/PvP]
Reply With Quote
  #6  
Old 08-08-2009, 01:08 PM
leslamarch
Discordant
 
Join Date: Sep 2006
Location: Green Bay, WI
Posts: 436
Default

Quote:
Originally Posted by Shiny151 View Post
Yeah I'm sure because I bought more than one copy for a friend and he's the one who has it. Plus I put another copy on my laptop for testing purposes. I also tried the DMZ idea but I'm getting the same problems. For safe measure I forwarded both TCP and UDP.
post your configs so we can have a look at what you have going on.
Reply With Quote
  #7  
Old 08-08-2009, 05:54 PM
Sylaei
Hill Giant
 
Join Date: Jan 2007
Posts: 124
Default

What is the eqhost.txt file setup? Inside (Lan) your server name needs to resolve to your internal address. Outside (Wan) your server name has to resolve to your internet Ip address. I created a name with Dyndns like coolplayground.dyndns.org.

This is a section of my eqemu_config.xml file:


Code:
		<shortname>MyCoolServer</shortname>
		<longname>This is my Cool Playground</longname>
		<!-- Only specify these two if you really think you need to. -->
		<address>coolplayground.dyndns.org</address>
		<localaddress>127.0.0.1</localaddress>
		<!-- Loginserver information.  -->
		<loginserver>
			<host>coolplayground.dyndns.org</host>
			<port>5999</port>
			<account></account>
			<password></password>
		</loginserver>

On each pc on the Lan, I added an entry into the hosts file, like this:
Code:
192.168.1.100     coolplayground.dyndns.org
Where 192.168.1.100 is the internal address of the server.

This allowed any pc to be able to resolve to the correct address and the server to also be able to 'find its self'.

There is a gotcha with dyndns. You must visit the site once every 30 days (free subscription), if not then they delete your account. When this happens no one will be able to connect to your server, inside or out. Change the eqemu_config.xml file or sign up with dyndns and recreate the name you had before.

HTH
__________________
Syl

"The significant problems we have cannot be solved at the same level of thinking with which we created them."
Albert Einstein
Reply With Quote
  #8  
Old 08-08-2009, 07:05 PM
Shiny151
Hill Giant
 
Join Date: Jul 2009
Location: Indianapolis
Posts: 228
Default

I have tried both a dyndns.org name and the real external IP. I get the same result with both. The thing that boggles me is what would keep everyone from accessing the world server but not the creation character/login screen?

Here's my config file:

(I've inserted a few x's where the real external IP should be)

Code:
<?xml version="1.0">
<server>
	<world>
		<shortname>ShinysWorld</shortname>
		<longname>EternalNight</longname>

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

		<!-- Loginserver information.  Defaults shown -->
		<loginserver>
			<host>71.156.xxx.xxx</host>
			<port>5998</port>
			<account></account>
			<password></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>

	<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>mypequsername</username>
		<password>mypeqpassword</password>
		<db>peq</db>
	</database>
</server>
Thanks guys for taking time to look at this.
Reply With Quote
  #9  
Old 08-08-2009, 09:03 PM
Sylaei
Hill Giant
 
Join Date: Jan 2007
Posts: 124
Default

Try changing your localhost address from 192.168.1.66 to 127.0.0.1 and try it. Seems like I had a similar issue with mine when I first set it up.

Just a thought.
__________________
Syl

"The significant problems we have cannot be solved at the same level of thinking with which we created them."
Albert Einstein
Reply With Quote
  #10  
Old 08-09-2009, 11:17 AM
Shiny151
Hill Giant
 
Join Date: Jul 2009
Location: Indianapolis
Posts: 228
Default

Quote:
Originally Posted by Sylaei View Post
Try changing your localhost address from 192.168.1.66 to 127.0.0.1 and try it. Seems like I had a similar issue with mine when I first set it up.

Just a thought.
Just tried it. Still getting the same thing. Thanks for the tip though.
Reply With Quote
  #11  
Old 08-09-2009, 04:51 PM
Sylaei
Hill Giant
 
Join Date: Jan 2007
Posts: 124
Default

Look in your logs folder and see if there is something in one of the world logs that tells you what is happening.

If you need to post part of the log or a link to dl it. You might want to clear the log folder then run the test. This will keep the log files smaller and easier to read.
__________________
Syl

"The significant problems we have cannot be solved at the same level of thinking with which we created them."
Albert Einstein
Reply With Quote
  #12  
Old 08-12-2009, 11:39 PM
provocating's Avatar
provocating
Demi-God
 
Join Date: Nov 2007
Posts: 2,175
Default

I can play from anywhere, multiple people. I normally will even log in at my lunch break. I am using a DYNDNS account so I can probably help you.

Code:
<?xml version="1.0">
<server>
        <world>
		<shortname>Classic</shortname>
		<longname>AX Classic</longname>
		<address>fakename.dyndns.org</address>
		<localaddress>192.168.0.10</localaddress>
		
        <loginserver>
		<host>127.0.0.1</host>
		<port>5999</port>
		<account>admin</account>
		<password>admin</password>
        </loginserver>
                <key>make_your_key!</key>
                <http port="9080" enabled="true" mimefile="mime.types" />
        </world>
	<chatserver>
		<host>fakename.dyndns.org</host>
		<port>7778</port>
	</chatserver>
	<mailserver>
		<host>fakename.dyndns.org</host>
		<port>7779</port>
	</mailserver>
        <database>
                <host>localhost</host>
                <port>3306</port>
                <username>eqemu</username>
                <password>mypassword</password>
                <db>peq</db>
        </database>
</server>
In my router I am forwarding

5999 TCP and UDP
9000 TCP and UDP
7778/7779 TCP and UDP
7000/7100 TCP and UDP

Now the reason for the last 100 forwards is because I have 100 static zones.
Reply With Quote
  #13  
Old 08-14-2009, 04:59 PM
Shiny151
Hill Giant
 
Join Date: Jul 2009
Location: Indianapolis
Posts: 228
Default

Thanks Prov-

I'll take a closer look at my ports again based on your config.

One thing I have noticed is that, I'm using port 5998 and you're using 5999. Is that just the difference between the minilogin and the eqemulogin.exe login server method?

My entire setup is based on Vales server setup guide. I plan to take the weekend to go over everything with a fine tooth comb. I appreciate everyone's feedback and tips.
Reply With Quote
  #14  
Old 08-14-2009, 06:01 PM
provocating's Avatar
provocating
Demi-God
 
Join Date: Nov 2007
Posts: 2,175
Default

I guess ?

I am using the new privatelogin login server. It puts minilogin to shame.
Reply With Quote
  #15  
Old 08-16-2009, 01:59 PM
Shiny151
Hill Giant
 
Join Date: Jul 2009
Location: Indianapolis
Posts: 228
Default

For these lines:

Code:
        
<loginserver>
		<host>127.0.0.1</host>
		<port>5999</port>
		<account>admin</account>
		<password>admin</password>
        </loginserver>
Is there an actual login account/pass we set for this somewhere because I've never needed it for LAN play.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 03:12 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3