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 |
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.
|
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 |
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 |
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"/> Give those a try and see if it works. I bet it will. |
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 |
you need to uncomment these lines..
Code:
<!-- Only specify these two if you really think you need to. --> Code:
<!-- Only specify these two if you really think you need to. --> |
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. |
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
|
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 |
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> |
Code:
<!-- Only specify these two if you really think you need to. --> 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. |
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. |
Of course I would have to set the db settings and the shortname and longname.... its the other things I am unsure about.
|
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.
|
Yeah, the ip's match. Cavedude suggested that I un-remark the:
<!-- <address>DO NOT SET</address> --> <!-- <localaddress>DO NOT SET</localaddress> --> And set the address to my external ip and the local address to the 192.168.X.X ip. The problem for me now is when I do ipconfig it only shows the external ip. All computers on this network cannot connect to the server now. I'm not sure if anyone outside of here can. Sorry for the trouble and thanks alot for the help so far. Edit: If anyone has a working eqemu_config file they can email me at skizoke@yahoo.com **** out password of course. |
Sounds like your router may be doing something funky. You shouldn't be getting your outside public IP even if you are running a DMZ. I would try turning off the DMZ setup and make sure you are using Port RANGE Forwarding to set port range 7000 to 7500 and port range 9000 to 9000 to point to your server's 192.168.1.X IP address. Make sure you reboot the server so that it is getting a 192.168 address, cause if it isn't then you got another issue on your router with DHCP or something weird.
|
Skizoke, You said that you are not using minilogin. If not then you don't need to open any ports on your router and all eqhost.txt files should have the line:Host=eqemulator.net:5998. Everyone will need a login on this site and connect to your server publicly. If that is not what you want you need to open the ports on your router and use minilogin. The ip for your server will be the ip for your router, at least as far as players outside your lan are concerned. You will need someway to get the ip address of your friends, use this: http://www.eqemulator.net/wiki/wikka...akka=MiniLogin.
I have set up several servers this way, I always wanted just my friends to play on my lan. As it turns out this is an awful lot of work. Just setup the server normally and then lock it. Give your friends enough privileges to sign into the locked server. Much easier and you don't have to worry about modifing the eqhost.txt file all the time or opening the ports on your router. HTH |
If he is using the Public Login Server, then he definitely needs the Port Ranges that I mentioned to be forwarded to his server. It will not work otherwise unless he connect his PC directly to the modem without the router in the middle or unless he sets his server as a DMZ in the router config.
|
Trevius, I did what you suggested. I don't know if it worked yet, the friend who has been trying to connect is away from keyboard (using IM)
Stlaei, That is correct. I'm not using minilogin and would prefer to keep it a public server at this time. If I don't need to open up any ports why can't anyone outside of my house connect to the server? |
Quote:
My problem is my modem IS my router. It's an AT&T dsl wireless modem with 4 connections for cat5 and has a built in router. So far it hasn't given me any problems. Hopefully, its just me and not the router/modem screwing me up. |
Oops, come to think of it I have always setup minilogin first then attempted to setup the public afterward. I guess my ports have already been open. :-)
What server is it, Skizoke? I'll try to login and see what happens. |
Skizoke Test Server
|
Here is the way my eqemu_config file currently looks:
<?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.185.XX.XX</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> </server> |
Skizoke, This was in my Titanium log file.
Code:
2008-09-30 23:07:33 Networking: Connection Established [1] <address>74.185.XX.XX</address> <localaddress>192.168.1.68</localaddress> Second try this, note I don't even have this line in my eqemu_config file: Try uncommenting this line from your eqemu_config file: <!-- <tcp ip="localhost" port="9000" telnet="disable"/> --> |
I made the changes, currently looks like this:
<?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></address> --> <!-- <localaddress></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> I don't know how to actually restart the server. I have just been closing the two dos windows. I am just now thinking, maybe changes to my config file are not taking effect if I am not restarting correctly? |
Ya, you are restarting it correctly for Windows. It should be taking effect.
Try running an "ipconfig /all" from your command prompt and post that here if you don't mind. |
Here you go:
Microsoft Windows [Version 6.0.6000] Copyright (c) 2006 Microsoft Corporation. All rights reserved. C:\Users\Howard>ipconfig /all Windows IP Configuration Host Name . . . . . . . . . . . . : Howard-Main Primary Dns Suffix . . . . . . . : Node Type . . . . . . . . . . . . : Hybrid IP Routing Enabled. . . . . . . . : No WINS Proxy Enabled. . . . . . . . : No DNS Suffix Search List. . . . . . : gateway.2wire.net Ethernet adapter Local Area Connection: Connection-specific DNS Suffix . : gateway.2wire.net Description . . . . . . . . . . . : Realtek RTL8168B/8111B Family PCI-E Gigab it Ethernet NIC (NDIS 6.0) Physical Address. . . . . . . . . : 00-1D-7D-E6-C3-74 DHCP Enabled. . . . . . . . . . . : Yes Autoconfiguration Enabled . . . . : Yes Link-local IPv6 Address . . . . . : fe80::880d:1656:1fd7:30f2%8(Preferred) IPv4 Address. . . . . . . . . . . : 192.168.1.68(Preferred) Subnet Mask . . . . . . . . . . . : 255.255.255.0 Lease Obtained. . . . . . . . . . : Tuesday, September 30, 2008 9:53:12 PM Lease Expires . . . . . . . . . . : Wednesday, October 01, 2008 9:53:12 PM Default Gateway . . . . . . . . . : 192.168.1.254 DHCP Server . . . . . . . . . . . : 192.168.1.254 DHCPv6 IAID . . . . . . . . . . . : 134225277 DNS Servers . . . . . . . . . . . : 192.168.1.254 NetBIOS over Tcpip. . . . . . . . : Enabled Ethernet adapter Hamachi: Connection-specific DNS Suffix . : Description . . . . . . . . . . . : Hamachi Network Interface Physical Address. . . . . . . . . : 7A-79-05-FF-58-F2 DHCP Enabled. . . . . . . . . . . : Yes Autoconfiguration Enabled . . . . : Yes IPv4 Address. . . . . . . . . . . : 5.255.88.242(Preferred) Subnet Mask . . . . . . . . . . . : 255.0.0.0 Lease Obtained. . . . . . . . . . : Tuesday, September 30, 2008 9:53:12 PM Lease Expires . . . . . . . . . . : Tuesday, September 30, 2008 11:36:57 PM Default Gateway . . . . . . . . . : 5.0.0.1 DHCP Server . . . . . . . . . . . : 5.0.0.1 NetBIOS over Tcpip. . . . . . . . : Enabled Tunnel adapter Local Area Connection* 6: Connection-specific DNS Suffix . : Description . . . . . . . . . . . : isatap.{734CDEE7-51F1-4667-B432-C91DAB389 B7E} Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0 DHCP Enabled. . . . . . . . . . . : No Autoconfiguration Enabled . . . . : Yes Link-local IPv6 Address . . . . . : fe80::200:5efe:5.255.88.242%12(Preferred) Default Gateway . . . . . . . . . : NetBIOS over Tcpip. . . . . . . . : Disabled Tunnel adapter Local Area Connection* 7: Media State . . . . . . . . . . . : Media disconnected Connection-specific DNS Suffix . : Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface Physical Address. . . . . . . . . : 02-00-54-55-4E-01 DHCP Enabled. . . . . . . . . . . : No Autoconfiguration Enabled . . . . : Yes Tunnel adapter Local Area Connection* 9: Connection-specific DNS Suffix . : gateway.2wire.net Description . . . . . . . . . . . : isatap.gateway.2wire.net Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0 DHCP Enabled. . . . . . . . . . . : No Autoconfiguration Enabled . . . . : Yes Link-local IPv6 Address . . . . . : fe80::5efe:192.168.1.68%10(Preferred) Default Gateway . . . . . . . . . : DNS Servers . . . . . . . . . . . : 192.168.1.254 NetBIOS over Tcpip. . . . . . . . : Disabled Tunnel adapter Local Area Connection* 10: Connection-specific DNS Suffix . : Description . . . . . . . . . . . : 6TO4 Adapter Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0 DHCP Enabled. . . . . . . . . . . : No Autoconfiguration Enabled . . . . : Yes Temporary IPv6 Address. . . . . . : 2002:5ff:58f2::5ff:58f2(Preferred) Default Gateway . . . . . . . . . : 2002:c058:6301::c058:6301 NetBIOS over Tcpip. . . . . . . . : Disabled C:\Users\Howard> |
I am still getting the same error when trying to connect. It seems like port 9000 is blocked. Double check all the port openings in your router with what Trevius suggested earlier.
And even though I don't think this has anything to do with it, I'd turn off Hamachi until you get the server working. Assuming that the ports are open correctly this could be a routing issue, and Hamachi could interfere. |
I uninstalled Hamachi and rebooted. I don't even use it anymore.
|
Quote:
I see zone logs and debug logs, just not sure which one you are referring to. |
Here is a screenshot of the way I forwarded the ports:
http://www.skizoke.com/images/eqemu/public.jpg |
It is under my Everquest Titanium folder.
Like: c:\games\eq titanium\logs the file itself is named dbg.txt In the screen shot you are just opening the ports in your firewall, you need to foward those ports to your eqemu server. If you forward I don't think you need to open them in the firewall. What is happening without the forwarding turned on is that my request to authenticate is happening at the router not your eqemu server. The router knows nothing of my auth request and is ignoring it. |
This is what the router page says:
By default, the firewall blocks all unwanted access from the Internet. You can allow access from the Internet to applications running on computers inside your secure home network by enabling firewall pinholes. Opening firewall pinholes is also known as opening firewall ports or firewall port forwarding. To do this, associate the desired application with the computer below. If you cannot find a listing for your application, you can create a user-defined application profile. (To create a user-defined profile, you will need to know protocol and port information.) To Allow Users Through the Firewall to Hosted Applications... Select a computer Choose the computer that will host applications through the firewall: Howard-Main 192.168.1.64 junkonecom-PC shaunda DIRECTV-STB-DF5BF5EA Howard Edit firewall settings for this computer: Maximum protection – Disallow unsolicited inbound traffic. Allow individual application(s) – Choose the application(s) that will be enabled to pass through the firewall to this computer. Click ADD to add it to the Hosted Applications list. All applications Games Audio/video Messaging and Internet Phone Servers Other User-defined Hosted Applications: EQEmu • Add a new user-defined application Allow all applications (DMZplus mode) – Set the selected computer in DMZplus mode. All inbound traffic, except traffic which has been specifically assigned to another computer using the “Allow individual applications” feature, will automatically be directed to this computer. The DMZplus-enabled computer is less secure because all unassigned firewall ports are opened for that computer. Note: Once DMZplus mode is selected and you click DONE, the system will issue a new IP address to the selected computer. The computer must be set to DHCP mode to receive the new IP address from the system, and you must reboot the computer. If you are changing DMZplus mode from one computer to another computer, you must reboot both computers. On the far left of the screenshot is the server name, it is allowing access to the server on those ports. Does it appear to you it is not being forwarded? If so, I am unsure how to fix it. |
And I am forwarding TCP only, do I need to do UDP as well?
|
Thanks for all the help, I'll try any other suggestions tomorrow after work.
|
I cannot even ping the server from work. Even with the firewall set to DMZ it won't allow access.
I'm lost, should I get a straight dsl modem so I don't have to deal with the firewall of the router? I can't just turn the firewall off. |
Try opening udp ports, I'm not sure if it uses them or not, but I always open them too.
And it looks like you have the forwarding setup. Do you have the windows firewall turned on on the pc? Turn it off, if so, and try that. |
I tried that, still no luck.
I just noticed that all computers on my network have the same external IP. I'm guessing that is why it is important for the router to know where to send the request for EQEmu? I guess that is where I am having trouble. I don't know exactly what I'm not doing. Thanks for all the help. |
All of the computers on your network go out into the world through the same router/modem. Thats why they all have the same external Ip address. And they should, the router is smart enough to know who to send what traffic back to when the connection starts inside. You want the connection to start outside and come in. Thats what the firewall/port forwarding does. You might open a dos window and type: ipconfig. Do this on the server pc. This will tell you its Ip. Next on your router use that Ip instead of a pc name. It shouldn't matter but it could.
|
All times are GMT -4. The time now is 09:33 AM. |
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.