EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Support::Windows Servers (https://www.eqemulator.org/forums/forumdisplay.php?f=587)
-   -   Your assistance is required please (https://www.eqemulator.org/forums/showthread.php?t=25508)

faldor 06-20-2008 10:11 AM

Your assistance is required please
 
Im trying to host a server so my friends and family can all play together and i have a BIG problem ....
No one outside of my lan can connect to my server, i have spent 3 days going through all the posts, making changes to the firewalls ect and they still cant get into the server, game freezes up on them when they press connect.......
I have gone through the fix for win vista/dual core ect and nothing changes, they can connect to other servers but not mine so im sure its something i have not done.

PLEASE help :smile:

Thank you kindly in anticipation of all your help

Faldor

xxarthurxx 06-20-2008 02:44 PM

I had a problem like this when i first started, at that time the problem was because i didnt replace the ip in my config file to the ip of the computer hosting the server. i for example it was something like 127.0.0.1 - change that to your actual network ip. something like 192.168.xxx.xxx whatever that may be.

GeorgeS 06-20-2008 11:12 PM

I would try to use cavedudes installer and set the option for running a server. It will install with those defaults.

It's extremely difficult to fix problems like this since it could be so many things - mysql admin password access, grant access issues, ip routing


For one thing - giving us more info will help.


GeorgeS

faldor 06-21-2008 03:15 AM

Thank you for your advice so far, I have used cavedudes installer and the mysql and active pearl he has said to use, router has been set for port forwarding and i have a stable IP address. Router firewall is also off.

Here is what my config file says:

<?xml version="1.0">
<server>
<world>
<shortname>EQGamers</shortname>
<longname>EQGamers</longname>

<!-- Only specify these two if you really think you need to. -->
<!--<address>EQGamers.dyn-o-saur.com</address>-->
<!--<localaddress>192.168.2.6</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>some long random string</key>

<!-- Sets the ip/port for the tcp connections. Both zones and console (if enabled). Defaults are shown -->
<tcp ip="EQGamers.dyn-o-saur.com" port="9000" telnet="enable"/>

<!-- 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>root</username>
<password>********</password>
<db>peq</db>
</database>
</server>

Everything i have done i have found on these forums and am not at a loss to why my friends outside of my LAN can not connect to the server.

Please let me know if you need any other information to assist you in diagnosing my problem and i will get it for you.

Many thnaks once again

Faldor

trevius 06-21-2008 04:39 AM

Try leaving your IP as localhost as shown below. That should work fine in pretty much all cases.

Code:

<tcp ip="localhost" port="9000" telnet="disable"/>
Make sure you don't have any windows firewalls running too. And if all else fails, try setting your router to run your server as a DMZ to verify if it is your port settings on your router or not. Setting it to DMZ will open all ports, so you don't want to leave it that way permanently, but it will help narrow down the source of the issue. Also, make sure you are setting Port RANGE forwarding and not Port Forwarding or Port Triggering. The other 2 are not the same as Port Range Forwarding and they won't work. You only need to have port 9000 and ports 7000 to 7100 forwarded for it to work.

Give those a try and see if it works. I bet it will.

faldor 06-21-2008 05:58 AM

Thank you for your input once again, i have made the changes you have said to do and will await the result of my friends or others to try and connect :)

I shall post what happens when i get the information.

Many thnaks once again, its great being part of such a helpful and understanding community :)

Faldor

Cripp 06-21-2008 10:35 AM

you need to uncomment these lines..
Code:

<!-- Only specify these two if you really think you need to. -->
<!--<address>EQGamers.dyn-o-saur.com</address>-->
<!--<localaddress>192.168.2.6</localaddress>-->

make them
Code:

<!-- Only specify these two if you really think you need to. -->
<address>EQGamers.dyn-o-saur.com</address>
<localaddress>192.168.2.6</localaddress>

everyone always misses that.. need to make them uncommented by default :(

trevius 06-21-2008 12:51 PM

Actually, most people that uncomment those settings wind up having issues until they comment them back out again. Probably 99% of the time, they need to stay commented out. Only in rare cases and setups would you need to uncomment them. And, if you were going to uncomment them, you must understand exactly what it is they are for.

Personally, I think they would be better off removed from the short default config and maybe only put in the full config file as an option for people that require a more advanced setup for certain reasons. They could also use a note about them that is clearer than the one currently there. The note, "Only specify these two if you really think you need to" isn't exactly clear lol. Many people specify them from the start and can't figure out why others can't connect to their server.

I don't even know for sure in what case you would be required to set these. Otherwise, I would write a better note for them myself.

I do know that the "address" is supposed to be the IP (or URL) of your internet IP, which in almost all cases is the IP of your router. And, the "localaddress" is the actual IP on the server itself, which is normally 192.168.1.100 or .101 or .102, etc.

You don't need to set any of this, because the Login Server keeps track of your address from when you connect to it when the server starts. All of this info is automatically taken care of by default. By setting this, it messes up what is automatically done, and in almost all cases it causes players not to be able to connect to the server.

LordRathgil 06-21-2008 01:14 PM

address needs to be your PUBLIC ip ( can get that from whatismyip.com) or your domain name (whateveryouwant.no-ip.org) local address has to be your servers internal ip assigned by your router (such as 192.168.1.101 for example) I know i never had a problem when i assigned them with public nor minilogin so long as they are set properly and all your ports are opened on your firewall and router youshouldnt have a problem if your going to use lan and a few friends only i suggest you try minilogin though

faldor 06-22-2008 03:02 AM

Server is nowworking how it should...... well i mean people can now connect to it from outside my LAN.

Thank you all very much for your help its been a good learning expirience for me.... just got to learn al the rest now lol

Trevius your server is an inspiration and i keep visiting to see what is possible and GeorgeS your tools are a god send, please keep up the great work both of you.

Once again many thanks to you all for your assistance

Faldor

Skizoke 09-30-2008 03:34 PM

I'm having the same problem..
 
It works perfect for me but anyone outside my home cannot connect. I temporarily have this computer set as dmz and firewall is off

I am not using mini login... variables table has login set to public

Here is my config file:

<?xml version="1.0">
<server>
<world>
<shortname>Skizoke</shortname>
<longname>Skizoke Test Server</longname>

<!-- Only specify these two if you really think you need to. -->
<address>74.145.72.21</address>-->
<localaddress>192.168.1.68</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>some long random string</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>

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

trevius 09-30-2008 05:32 PM

Code:

<!-- Only specify these two if you really think you need to. -->
<address>74.145.72.21</address>-->
<localaddress>192.168.1.68</localaddress>-->

If you are setting up a public server, then you should never set this section unless you are 100% sure you have to, which 99.9% of the time, you don't. By setting it, you will almost always break the connections for people outside your LAN. If you are setting up a Mini-Login, then you probably do need to set this, but I don't really know much about Mini-Login.

Try removing those lines from your config and see what happens.

Plus, it looks like you have those config lines half commented out, which might cause problems. The "-->" at the end of the line should be signifying the end of a comment "<!--" line. Either you need to have both "<!--" and "-->" on the same line, or neither one.

Skizoke 09-30-2008 06:27 PM

I tried what you said, but no luck.

Here is the way the file is currently set up:

<?xml version="1.0">
<server>
<world>
<shortname>Skizoke</shortname>
<longname>Skizoke Test Server</longname>

<!-- Only specify these two if you really think you need to. -->
<!-- <address>DO NOT SET</address> -->
<!-- <localaddress>DO NOT SET</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>some long random string</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>

<!-- Database configuration, replaces db.ini. -->
<database>
<host>localhost</host>
<port>3306</port>
<username>root</username>
<password>*********</password>
<db>peq</db>
</database>
</server>

By chance do you have a good one that works that I can clone? I'm not having any luck modifying one.

Skizoke 09-30-2008 06:35 PM

Of course I would have to set the db settings and the shortname and longname.... its the other things I am unsure about.

trevius 09-30-2008 08:24 PM

Are you sure you have your server setup as a DMZ properly? If you are using DHCP and you reboot the server, it might be assigning a new IP address that doesn't match up with your DMZ settings. Do an ipconfig from a command prompt and make 100% certain you are using the right IPs.


All times are GMT -4. The time now is 09:29 AM.

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