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

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

Reply
 
Thread Tools Display Modes
  #1  
Old 05-10-2018, 11:50 AM
spidey1170
Sarnak
 
Join Date: May 2009
Location: Alaska
Posts: 61
Default [Solved] What ports to open [Not sure how or why]

I've read every post I could find, going back to 2004 or so using search engines, about which ports to open. My server runs and connects with no firewall running; however, when I enable the firewall, it gives me a 1017 error.

My system:

Code:
VPS
Debian 9 (updated & upgraded)
4GB RAM
ufw
The ports I've opened:
Code:
To                     Action   From
---------------------------------------
5998                 Allow    Anywhere
5999                 Allow    Anywhere
7000:7500/tcp   Allow    Anywhere
7000:7500/udp  Allow    Anywhere
7900:7999/tcp   Allow    Anywhere
7900:7999/udp  Allow    Anywhere
3306                 Allow    Anywhere
9001                 Allow    Anywhere
The last two were found in a post on these forums, I forget which one. I don't think I need them, but I'm grasping at straws here, now. It should be working, but I think I'm missing something between the login server and the game.

Last edited by spidey1170; 05-10-2018 at 12:31 PM.. Reason: Marked [Solved]
Reply With Quote
  #2  
Old 05-10-2018, 11:57 AM
GRUMPY
Discordant
 
Join Date: Oct 2016
Posts: 445
Default

5998
5999
7000-7500
7778 (chatserver on this ?)
9000-9001
Thats all you need. I just set all of them to both tcp/udp
You only need 3306 open if you're going to access your database remotely.
Reply With Quote
  #3  
Old 05-10-2018, 12:30 PM
spidey1170
Sarnak
 
Join Date: May 2009
Location: Alaska
Posts: 61
Default

Wow, okay, I enabled and disabled the firewall several times, like I had done yesterday, and deleted and readded the ports and now it's connecting. Huh... odd.

I'm not complaining one bit!
Reply With Quote
  #4  
Old 05-17-2018, 03:01 PM
spidey1170
Sarnak
 
Join Date: May 2009
Location: Alaska
Posts: 61
Default

Quote:
Originally Posted by GRUMPY View Post
5998
5999
7000-7500
7778 (chatserver on this ?)
9000-9001
Thats all you need. I just set all of them to both tcp/udp
You only need 3306 open if you're going to access your database remotely.
For some odd reason, I can no longer see the server in the list, again. I didn't change any configuration files and tried to reboot my eqemu server (not the server itself) several times, with no help.
Reply With Quote
  #5  
Old 05-18-2018, 03:22 PM
image
Demi-God
 
Join Date: Jan 2002
Posts: 1,290
Default

if you are talking about the eqemulator.org login it has a flaw in how it sends packets to the clients. The only way to circumvent is by using a tunnel for your UDP traffic or potentially using a VPN.

The login server eqemulator.org uses is ancient and Rogean needs to update to the new public LS that has been available for years.
__________________
www.eq2emu.com
EQ2Emu Developer
Former EQEMu Developer / GuildWars / Zek Seasons Servers
Member of the "I hate devn00b" club.
Reply With Quote
  #6  
Old 05-18-2018, 03:27 PM
spidey1170
Sarnak
 
Join Date: May 2009
Location: Alaska
Posts: 61
Default

Quote:
Originally Posted by image View Post
if you are talking about the eqemulator.org login it has a flaw in how it sends packets to the clients. The only way to circumvent is by using a tunnel for your UDP traffic or potentially using a VPN.

The login server eqemulator.org uses is ancient and Rogean needs to update to the new public LS that has been available for years.
It's my personal server that is on a VPS. It was there for a few days and then it disappeared.
Reply With Quote
  #7  
Old 05-18-2018, 03:50 PM
image
Demi-God
 
Join Date: Jan 2002
Posts: 1,290
Default

oh lol..

in that case we need to see the login logs and world logs... it should give you more information there, if the world isn't connected to the login it won't be listed.
__________________
www.eq2emu.com
EQ2Emu Developer
Former EQEMu Developer / GuildWars / Zek Seasons Servers
Member of the "I hate devn00b" club.
Reply With Quote
  #8  
Old 05-18-2018, 04:44 PM
spidey1170
Sarnak
 
Join Date: May 2009
Location: Alaska
Posts: 61
Default

Latest world log:

Code:
[05-18-2018 :: 20:49:53] [World Server] Checking Database Conversions..
[05-18-2018 :: 20:49:53] [World Server] Loading variables..
[05-18-2018 :: 20:49:53] [World Server] Loading zones..
[05-18-2018 :: 20:49:53] [World Server] Clearing groups..
[05-18-2018 :: 20:49:53] [World Server] Clearing raids..
[05-18-2018 :: 20:49:53] [World Server] Clearing inventory snapshots..
[05-18-2018 :: 20:49:53] [World Server] Loading items..
[05-18-2018 :: 20:49:53] [World Server] Loading skill caps..
[05-18-2018 :: 20:49:53] [World Server] Loading guilds..
[05-18-2018 :: 20:49:53] [World Server] Loaded default rule set 'default'
[05-18-2018 :: 20:49:53] [World Server] Loading EQ time of day..
[05-18-2018 :: 20:49:53] [World Server] Loading launcher list..
[05-18-2018 :: 20:49:53] [World Server] Reboot zone modes OFF
[05-18-2018 :: 20:49:53] [World Server] Deleted 0 stale player corpses from database
[05-18-2018 :: 20:49:53] [World Server] Loading adventures...
[05-18-2018 :: 20:49:53] [World Server] Purging expired instances
[05-18-2018 :: 20:49:53] [World Server] Loading char create info...
[05-18-2018 :: 20:49:53] [World Server] Console (TCP) listener started.
[05-18-2018 :: 20:49:53] [World Server] Server (TCP) listener started.
[05-18-2018 :: 20:49:55] [World Server] New Query Server connection from c5864946-bf58-437f-a5d0-c3e43c5eda40 at 127.0.0.1:48270
[05-18-2018 :: 20:49:55] [World Server] New UCS Server connection from d95d54f9-3d8c-41ff-9570-54164e7f7992 at 127.0.0.1:48272
[05-18-2018 :: 20:49:57] [World Server] New Zone Server connection from 6ded2060-8ed4-4c3b-a844-42869214afe8 at 127.0.0.1:48274
[05-18-2018 :: 20:49:57] [World Server] New Zone Server connection from c817ee25-82ae-4734-bca4-a0d6ff66d813 at 127.0.0.1:48276
[05-18-2018 :: 20:49:57] [World Server] New Zone Server connection from 3934d8e1-2936-4dd2-92c5-ab9621984819 at 127.0.0.1:48278
[05-18-2018 :: 20:49:57] [World Server] New Zone Server connection from c06c7bd1-fb20-4aaf-b3c7-b7eddc60b8bb at 127.0.0.1:48280
[05-18-2018 :: 20:49:57] [World Server] New Zone Server connection from ed17595a-7182-4f25-85d2-a8b4f25d60d7 at 127.0.0.1:48282
[05-18-2018 :: 20:49:57] [World Server] New Zone Server connection from a7c37220-49f5-4b69-90b6-a9761dff209a at 127.0.0.1:48284
[05-18-2018 :: 20:49:58] [World Server] New Zone Server connection from d990fa59-452d-4681-9638-e031c5c1c8c7 at 127.0.0.1:48286
[05-18-2018 :: 20:49:58] [World Server] New Zone Server connection from e33af575-d079-4e8c-a789-e14e7e9adb5e at 127.0.0.1:48288
[05-18-2018 :: 20:49:58] [World Server] New Zone Server connection from 2a002a8d-9377-4969-986e-6bf8b642809a at 127.0.0.1:48290
[05-18-2018 :: 20:49:58] [World Server] New Zone Server connection from 8cd83e1d-45f9-459e-b4bb-91c8f41cbe32 at 127.0.0.1:48292
[05-18-2018 :: 20:49:58] [World Server] New Zone Server connection from 316066d1-88c7-497a-a0c0-a5a023848471 at 127.0.0.1:48294
[05-18-2018 :: 20:49:58] [World Server] New Zone Server connection from a230dcad-7039-4593-b5f0-911ddfbe483e at 127.0.0.1:48296
[05-18-2018 :: 20:49:58] [World Server] New Zone Server connection from 17f5a46b-514d-4575-a781-73b65c3384a4 at 127.0.0.1:48298
[05-18-2018 :: 20:49:58] [World Server] New Zone Server connection from 965b1a8d-6c65-4ec6-ad60-c640003adf4f at 127.0.0.1:48300
[05-18-2018 :: 20:49:58] [World Server] New Zone Server connection from 501ebb60-4b9e-43a1-bcfd-4f871ea610b0 at 127.0.0.1:48302
[05-18-2018 :: 20:49:58] [World Server] New Zone Server connection from 13e021c6-8bb2-48e5-95b0-7060c3486646 at 127.0.0.1:48304
[05-18-2018 :: 20:49:58] [World Server] New Zone Server connection from d0673028-f42c-43d0-b087-3032f0aa7525 at 127.0.0.1:48306
[05-18-2018 :: 20:49:58] [World Server] New Zone Server connection from 33b9798c-f2fb-4728-95b1-7e50ce96f330 at 127.0.0.1:48308
[05-18-2018 :: 20:49:58] [World Server] New Zone Server connection from 72e5b09d-6a2f-42a8-a6bf-f65d563a2c1a at 127.0.0.1:48310
[05-18-2018 :: 20:49:58] [World Server] New Zone Server connection from 6a80fc2d-eb54-4b89-8311-155b1c20cb9e at 127.0.0.1:48312
[05-18-2018 :: 20:49:58] [World Server] New Zone Server connection from d735b75a-a3f1-4940-987f-936d159096ad at 127.0.0.1:48314
[05-18-2018 :: 20:49:58] [World Server] New Zone Server connection from 4d50ce8f-40f2-44f6-ab49-a07f407ef9be at 127.0.0.1:48316
[05-18-2018 :: 20:49:58] [World Server] New Zone Server connection from ccd480a1-8bf2-4efe-874a-8fc4afdaff52 at 127.0.0.1:48318
[05-18-2018 :: 20:49:58] [World Server] New Zone Server connection from 593485f3-13d5-45ef-9ee7-889db6f6f027 at 127.0.0.1:48320
[05-18-2018 :: 20:49:58] [World Server] New Zone Server connection from 43feaae7-907b-4910-8f26-2acf6fe7c249 at 127.0.0.1:48322
[05-18-2018 :: 20:49:58] [World Server] New Zone Server connection from f4103250-ce30-45c0-8adb-18c6a0cd981e at 127.0.0.1:48324
[05-18-2018 :: 20:49:58] [World Server] New Zone Server connection from 44548c25-fa65-4040-855c-82d1e411fa50 at 127.0.0.1:48326
[05-18-2018 :: 20:49:58] [World Server] New Zone Server connection from cd4452e7-ae5d-4074-b4df-c011885a546d at 127.0.0.1:48328
[05-18-2018 :: 20:49:58] [World Server] New Zone Server connection from c7cc85b4-aecc-4240-83d6-191ddf51dc33 at 127.0.0.1:48330
latest zone log (all are pretty much like this that I've checked):

Code:
[05-18-2018 :: 20:49:55] [Zone Server] CURRENT_VERSION: 1.1.3
[05-18-2018 :: 20:49:55] [Zone Server] Mapping Incoming Opcodes
[05-18-2018 :: 20:49:55] [Zone Server] Loading Variables
[05-18-2018 :: 20:49:55] [Zone Server] Loading zone names
[05-18-2018 :: 20:49:55] [Zone Server] Loading items
[05-18-2018 :: 20:49:55] [Zone Server] Loading npc faction lists
[05-18-2018 :: 20:49:55] [Zone Server] Loading loot tables
[05-18-2018 :: 20:49:55] [Zone Server] Loading skill caps
[05-18-2018 :: 20:49:55] [Zone Server] Loading spells
[05-18-2018 :: 20:49:55] [Zone Server] Loading base data
[05-18-2018 :: 20:49:55] [Zone Server] Loading guilds
[05-18-2018 :: 20:49:55] [Zone Server] Loading factions
[05-18-2018 :: 20:49:55] [Zone Server] Loading titles
[05-18-2018 :: 20:49:55] [Zone Server] Loading tributes
[05-18-2018 :: 20:49:55] [Zone Server] Loading corpse timers
[05-18-2018 :: 20:49:55] [Zone Server] Loading commands
[05-18-2018 :: 20:49:55] [Zone Server] 262 commands loaded
[05-18-2018 :: 20:49:55] [Zone Server] Loaded default rule set 'default'
[05-18-2018 :: 20:49:55] [Zone Server] Loading Perl Event Export Settings...
[05-18-2018 :: 20:49:55] [Zone Server] Loading quests
[05-18-2018 :: 20:49:55] [Quests] Tying perl output to eqemu logs
[05-18-2018 :: 20:49:55] [Quests] Creating EQEmuIO=HASH(0x55a3d22329f8)
[05-18-2018 :: 20:49:55] [Quests] Creating EQEmuIO=HASH(0x55a3d2260fb8)
[05-18-2018 :: 20:49:55] [Quests] Loading perlemb plugins.
[05-18-2018 :: 20:49:55] [Quests] Unable to read perl file 'plugin.pl'
[05-18-2018 :: 20:49:55] [Quests] Subroutine vtell redefined at ./plugins//client_messages.pl line 55.
[05-18-2018 :: 20:49:55] [Quests] Subroutine Autovtell redefined at ./plugins//client_messages.pl line 99.
[05-18-2018 :: 20:49:57] [Quests] "my" variable $Item1 masks earlier declaration in same scope at ./plugins//quest_handin.pl line 19.
[05-18-2018 :: 20:49:57] [Quests] "my" variable $Item2 masks earlier declaration in same scope at ./plugins//quest_handin.pl line 21.
[05-18-2018 :: 20:49:57] [Quests] "my" variable $Item3 masks earlier declaration in same scope at ./plugins//quest_handin.pl line 23.
[05-18-2018 :: 20:49:57] [Quests] "my" variable $Item4 masks earlier declaration in same scope at ./plugins//quest_handin.pl line 25.
[05-18-2018 :: 20:49:57] [Quests] Subroutine GetMaxLoSDistFromHeading redefined at ./plugins//spawn_tools.pl line 9.
[05-18-2018 :: 20:49:57] [Quests] Subroutine FaceBestHeading redefined at ./plugins//spawn_tools.pl line 72.
[05-18-2018 :: 20:49:57] [Quests] Subroutine HeadingToShortestLoS redefined at ./plugins//spawn_tools.pl line 142.
[05-18-2018 :: 20:49:57] [Quests] Subroutine MoveAwayFromWall redefined at ./plugins//spawn_tools.pl line 206.
[05-18-2018 :: 20:49:57] [Quests] Subroutine MoveToFirstBestZ redefined at ./plugins//spawn_tools.pl line 278.
[05-18-2018 :: 20:49:57] [Quests] Subroutine SpawnZone redefined at ./plugins//spawn_tools.pl line 311.
[05-18-2018 :: 20:49:57] [Quests] Subroutine moelib_spawn_block redefined at ./plugins//spawn_tools.pl line 391.
[05-18-2018 :: 20:49:57] [Quests] Subroutine moelib_spawn_block_center redefined at ./plugins//spawn_tools.pl line 412.
[05-18-2018 :: 20:49:57] [Quests] Subroutine moelib_spawn_circle redefined at ./plugins//spawn_tools.pl line 434.
[05-18-2018 :: 20:49:57] [Quests] Subroutine RandomRange redefined at ./plugins//random_range.pl line 3.
[05-18-2018 :: 20:49:58] [Quests] Found = in conditional, should be == at ./plugins//rathunt.pl line 45.
[05-18-2018 :: 20:49:58] [Quests] Found = in conditional, should be == at ./plugins//rathunt.pl line 53.
[05-18-2018 :: 20:49:58] [Quests] Found = in conditional, should be == at ./plugins//rathunt.pl line 88.
[05-18-2018 :: 20:49:58] [Quests] Found = in conditional, should be == at ./plugins//rathunt.pl line 96.
[05-18-2018 :: 20:49:58] [Quests] Subroutine CalcDestFromHeading redefined at ./plugins//formation_tools.pl line 882.
[05-18-2018 :: 20:49:58] [Quests] Subroutine GetReverseHeading redefined at ./plugins//formation_tools.pl line 980.
[05-18-2018 :: 20:49:58] [Quests] Subroutine ConvertHeadingToDegrees redefined at ./plugins//formation_tools.pl line 995.
[05-18-2018 :: 20:49:58] [Quests] Bareword "Types::Serialiser::Error::" refers to nonexistent package at /usr/share/perl5/Types/Serialiser.pm line 126.
[05-18-2018 :: 20:49:58] [Quests] Bareword "Types::Serialiser::Error::" refers to nonexistent package at /usr/share/perl5/Types/Serialiser.pm line 135.
[05-18-2018 :: 20:49:58] [Quests] Subroutine MakeTempPet redefined at (eval 60) line 1.
[05-18-2018 :: 20:49:58] [Quests] Subroutine MakeTempPet redefined at (eval 60) line 1.
[05-18-2018 :: 20:49:58] [Quests] Subroutine GetSkill redefined at (eval 60) line 1.
[05-18-2018 :: 20:49:58] [Quests] Subroutine SignalClient redefined at (eval 60) line 1.
[05-18-2018 :: 20:49:58] [Quests] Subroutine MakeTempPet redefined at (eval 60) line 1.
[05-18-2018 :: 20:49:58] [Quests] Subroutine MakeTempPet redefined at (eval 60) line 1.
[05-18-2018 :: 20:49:58] [Zone Server] Entering sleep mode
[05-18-2018 :: 20:49:59] [Zone Server] Starting EQ Network server on port 7020
Also, I don't know if it's the ports or what, but here's some more information I put in another post:

http://www.eqemulator.org/forums/showthread.php?t=41899
Reply With Quote
  #9  
Old 05-18-2018, 05:03 PM
image
Demi-God
 
Join Date: Jan 2002
Posts: 1,290
Default

not seeing any login server attempts at the world server, so unless you cut off your world log that is a problem. Also asked for the login server log not the zone log.
__________________
www.eq2emu.com
EQ2Emu Developer
Former EQEMu Developer / GuildWars / Zek Seasons Servers
Member of the "I hate devn00b" club.
Reply With Quote
  #10  
Old 05-18-2018, 05:06 PM
spidey1170
Sarnak
 
Join Date: May 2009
Location: Alaska
Posts: 61
Default

Quote:
Originally Posted by image View Post
not seeing any login server attempts at the world server, so unless you cut off your world log that is a problem. Also asked for the login server log not the zone log.
I didn't see one. Is it located in logs, as well?

EDIT: No login server log file exists.
Reply With Quote
  #11  
Old 05-19-2018, 06:11 AM
spidey1170
Sarnak
 
Join Date: May 2009
Location: Alaska
Posts: 61
Default

I rebuilt the server twice and it finally worked; the "new_server" option, however, never worked, and I had to manually create the admin user, add all the info to the files, etc.

My friend is STILL having that problem:

Error - a timeout occurred.

She can ping the server, but every single time she tries to connect, it gives her that. I can connect from my computer and play.

Her eqhost.txt
Code:
[LoginServer]
Host=<server_public_ip_address>:5998
Same as mine. Actually, I think she took away the space after the Host line; however, my file has the space and connects just fine.

So frustrating, now. Not sure why it would allow me to play and not her. Both of us have fresh Titanium installs, no changes except the eqhost.txt file.


Image of her error: https://i.imgur.com/Eo8vPwG.jpg
Reply With Quote
  #12  
Old 05-19-2018, 07:54 AM
GRUMPY
Discordant
 
Join Date: Oct 2016
Posts: 445
Default

Are you and your friend both in the same home, trying to connect ? On a Lan ?
Or is she trying to connect from another location ?
Aslo check the log file in the client logs folder and see what it says.
Reply With Quote
  #13  
Old 05-19-2018, 03:05 PM
spidey1170
Sarnak
 
Join Date: May 2009
Location: Alaska
Posts: 61
Default

Quote:
Originally Posted by GRUMPY View Post
Are you and your friend both in the same home, trying to connect ? On a Lan ?
Or is she trying to connect from another location ?
Aslo check the log file in the client logs folder and see what it says.
She's halfway across the world. I just sent an email asking her to try it from her daughter's computer to troubleshoot their network; if it works from her daughter's computer, then we know it's her system, if not we can look at her router.

Is there anything I should look for in her router that would stop the traffic? I'll have to ask what kind she has, I suppose, to see if it has a default firewall that's blocking traffic.

Where are the client logs located, so I can walk her through it?
Reply With Quote
  #14  
Old 05-19-2018, 03:16 PM
GRUMPY
Discordant
 
Join Date: Oct 2016
Posts: 445
Default

Try this, just to for troubleshooting purposes :
Temporarily - put your server into the public Emu login server. If your friend can get on through
there, then you have no port or firewall problems.
Reply With Quote
  #15  
Old 05-19-2018, 05:23 PM
GRUMPY
Discordant
 
Join Date: Oct 2016
Posts: 445
Default

Just to clarify, (for private loginserver, outside connections).

If your friend can connect to any server on that Emu public server list that
supports your client version (like Titanium), then there is no issues on your
friend's end. If your friend can't connect to any server, problem is on their
end. (usually a firewall, which can also come from an antivirus program).

If your server is patched into the Emu public login server and your friend can
connect to it through there, then neither of you have any port or firewall
problems.
Ultimately, if absolutely nobody can connect to your server privately, or from
the Emu public login server, the problem is on your end.

Ruling all that out, then if the connecting problem is soley with your own
private login server, then the problem is more than likely within your server
configuration.
It would still let YOU in, because you're connecting from within your own lan
or network, regardless.

Then it's a matter of looking at the two common culprits, the login.ini file
and/or the eqemu_config.json file.
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 02:35 PM.


 

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