View Full Version : Server will not support more than one client at a time
Jolrak
05-28-2008, 06:48 PM
I have tried this a couple of ways. Currently my server is just connected to a cable modem and is then routing internet to my 2nd computer. My brother is able to connect to my computer through the internet from his seperate connection behind a router, however when he is connected i cannot connect and in the world.exe screen i get a
[Net__error] 192.168.0.5:2715 recieved op_sessionrequest in established state <0>
followed by
[Net__identify] unable to identify stream from 192.168.0.5:2715 before it closed.
Now i only get these errors when my brother is connected and i try to connect from my computer on the same lan as the server. If i am connected first and then he tries to connect no errors show up but the same result is seen on the client end. We both end up getting booted back to the login screen. Game runs fine for one client, any help would be greatly appreciated.
trevius
05-28-2008, 11:42 PM
Post your EQEmu server config file and don't forget to remove your password before posting it!
Jolrak
05-29-2008, 01:12 AM
<?xml version="1.0">
<server>
<world>
<shortname>emusp</shortname>
<longname>Questionable Methods</longname>
<!-- 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. -->
<http port="9080" enabled="true" mimefile="mime.types" />
</world>
<!-- Database configuration, replaces db.ini. -->
<database>
<host>localhost</host>
<port>3306</port>
<username></username>
<password></password>
<db>peq</db>
</database>
</server>
an update though, i fixed the error message problem. It was unrelated. Still however only one client at a time can connect, reguardless of whether its through the lan or through the internet.
Jolrak
05-29-2008, 01:41 AM
still having problems with this, my server name is questionable methods...if someone would please try and join this it would be much appreciated. i think it must be something simple, my server is running win 2000 pro with no firewall.
EvoZak
05-29-2008, 02:15 AM
I have a similar problem with my setup. If I'm connected to my server (which is on my lan), external people couldn't connect... they got a "unknown error". However if I log off, external people connect just fine and then I can connect as well.
I'm not running any minilogin stuff, just the latest build with the bots enabled and PEQ db. No errors of any kind were in the logs.
Congdar
05-29-2008, 09:03 AM
I don't know if this is the same issue as you have, but I found that if I only have one dynamic zone running then I can only have one connection and I can't zone to another zone and I can't log in any other accounts.
Make sure you have 5 or 6 dynamic zones running.
Jolrak
05-29-2008, 02:25 PM
i have 5 dynamic zones running.
Jolrak
05-30-2008, 12:20 AM
still havent figured it out. tried running a client on same machine as server and same result. server will only support 1 client at a time.
Cripp
05-30-2008, 12:28 AM
you may have to use a dns name for the server address and on each machine locally ur using to login u add a line in the hosts file (C:\windows\system32\drivers\etc\hosts) that looks like 192.168.0.2 host.whatever.com where 192.168.0.2 is the server local IP. you can setup a dns name at www.no-ip.com
in your eqemu_config.xml you need to add the <address> and <localaddress> lines right below the short/long names.. in the <world> section.
<address> would have the dns name and <localaddress> would have the internal IP... after you set all of this hopefuly it will work
PS: the dns name should be setuip to use your external IP not internal.
quadroplex
05-31-2008, 04:40 AM
you should also check the wiki for the router/NAT fix for windows servers also you will need to set it up to use your EXTERNAL ip address, or a dns name. you are using your INTERNAL ip address (192,168.x.x) your external IP Can be gotten at whatismyip.com
Also make sure that your firewall and router has the port forwarding for the server ports 9000 - 9080 and 7000-7100 open in the firewal and forwarded to the correct machine on your lan or noone can connect to it outside your lan.
Also check your variables table, the logintype variable, to make sure that it is set to public and not minilogin.
trevius
05-31-2008, 04:45 AM
If what crip recommends doesn't work, maybe you can help identify the problem by explaining in more detail how your network is setup.
I suspect it is either your network, or just windows 2000. I know servers run fine on XP, Linux and Windows Server 2003, but I am not sure if they are ok on 2000 or not.
So, if I understand you correctly;
Your server is connected to a plain modem that connects directly to the internet. This modem does NOT have a built in router or anything other than just being a modem?
THEN, you also have a separate NIC card on your server PC too allow it to have LAN connectivity and maybe even share the internet through your server?
Finally, you have a completely separate internet connection in your house that has a router connected to it and your brother uses that to connect to your server without going over any sort of LAN connection?
If my understanding is half-right, no wonder you have connection problems lol. Sounds like a Frankenstein of a network there!
Jolrak
06-05-2008, 01:31 AM
If what crip recommends doesn't work, maybe you can help identify the problem by explaining in more detail how your network is setup.
I suspect it is either your network, or just windows 2000. I know servers run fine on XP, Linux and Windows Server 2003, but I am not sure if they are ok on 2000 or not.
So, if I understand you correctly;
Your server is connected to a plain modem that connects directly to the internet. This modem does NOT have a built in router or anything other than just being a modem?
THEN, you also have a separate NIC card on your server PC too allow it to have LAN connectivity and maybe even share the internet through your server?
Finally, you have a completely separate internet connection in your house that has a router connected to it and your brother uses that to connect to your server without going over any sort of LAN connection?
If my understanding is half-right, no wonder you have connection problems lol. Sounds like a Frankenstein of a network there!
This is right but its less absurd than you think. My server is connected to a cable modem directly and then routes that internet to my main computer via a wireless ad hoc network. My brother who live in the same apartment complex has his own independant internet connection which happens to be behind a router. And so far, still havent figured it out, i did add that line to the file and no change.
trevius
06-05-2008, 04:42 AM
It looks like you may still have issues with your config file. Maybe you removed alot of stuff other than just the username and password from it when you posted it and the stuff you removed is what is causing the problem. Try this config and add in your username and password in the Database section. Make sure not to change ANYTHING in the config file other than the username and password at the bottom part:
<?xml version="1.0">
<server>
<world>
<shortname>emusp</shortname>
<longname>Questionable Methods</longname>
<!-- Only specify these two if you really think you need to. -->
<!--<address>Serving Machines IP</address>-->
<!--<localaddress>127.0.0.1</localaddress>-->
<!-- Loginserver information. -->
<loginserver>
<host>eqemulator.net</host>
<port>5998</port>
<account></account>
<password></password>
</loginserver>
<!-- Sets the shared key used by zone/launcher to connect to world -->
<key>abcd1234</key>
<!-- Sets the ip/port for the tcp connections. Both zones and console (if enabled). Defaults are shown -->
<tcp ip="localhost" port="9000" telnet="disable"/>
<!-- Enable and set the port for the HTTP service. -->
<http port="9080" enabled="true" 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>0</defaultstatus>
<!-- Sets port range for world to use to auto configure zones -->
<ports low="7000" high="7500"/>
</zones>
<!-- Database configuration, replaces db.ini. -->
<database>
<host>localhost</host>
<port>3306</port>
<username></username>
<password></password>
<db>peq</db>
</database>
</server>
If you are still having problems, then most likely you have some port forwarding issues if you somehow have that setup on your direct connection. Make sure all firewalls are turned off on your main PC. Also, make sure you aren't doing some weird port forwarding on your PC to your adhoc network. In fact, I would try disabling the wireless card all together and see if that helps. The only other thing I can think of is to make sure you have your launcher table setup to load at least 5 zones.
If none of that works, please post a log of your world server and any other logs you can find. We can get this working for you, I am sure.
opyrus
06-19-2008, 01:49 PM
you may need more ports opened on your router zones start on port 7000 and go up from there each zone and then if a zone crashs it moves up to the next port you should open 7000-7100 make sure theres enough in case of crashs. they need to add a smarter zone port config that check what zone ports can be used so the ports dont keep jumping up and up and up as zones crash and restart.
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.