mirror of
https://github.com/GameServerManagers/LinuxGSM.git
synced 2026-04-25 06:05:57 +03:00
[GH-ISSUE #2855] Unable to connect (server Ubuntu 16.04) (port problem?) #2048
Labels
No labels
Atomic
Epic
cannot reproduce
command: backup
command: console
command: debug
command: details
command: fast-dl
command: install
command: mods
command: monitor
command: post-details
command: restart
command: send
command: start
command: stop
command: update
command: update-lgsm
command: validate
command: wipe
distro: AlmaLinux
distro: Arch Linux
distro: CentOS
distro: Debian
distro: Fedora
distro: RedHat
distro: Rocky Linux
distro: Ubuntu
distro: openSUSE
engine: goldsrc
engine: source
game: 7 Days to Die
game: ARMA 3
game: Ark: Survival Evolved
game: Assetto Corsa
game: Avorion
game: BATTALION: Legacy
game: Barotrauma
game: Battalion 1944
game: Battlefield 1942
game: Black Mesa: Deathmatch
game: Blade Symphony
game: Call of Duty 2
game: Call of Duty 4
game: Call of Duty: United Offensive
game: Counter-Strike 1.6
game: Counter-Strike 2
game: Counter-Strike: Global Offensive
game: Counter-Strike: Source
game: Day of Infamy
game: Dayz
game: Death Match Classic
game: Don't Starve Together
game: ET: Legacy
game: Eco
game: Factorio
game: Factorio
game: Garry's Mod
game: Half-Life
game: Hurtword
game: Insurgecy
game: Insurgecy
game: Insurgency: Sandstorm
game: Just Cause 3
game: Killing Floor
game: Killing Floor 2
game: Left 4 Dead 2
game: Minecraft
game: Minecraft Bedrock
game: Mordhau
game: Multi Theft Auto
game: Mumble
game: Natural Selection 2
game: No More Room in Hell
game: Pavlov VR
game: Post Scriptum
game: Project Zomboid
game: Quake 3
game: QuakeWorld
game: Red Orchestra: Ostfront 41-45
game: Return to Castle Wolfenstein
game: Rising World
game: Rust
game: San Andreas Multiplayer
game: Satisfactory
game: Soldat
game: Soldier of Fortune 2
game: Squad
game: Squad 44
game: Starbound
game: Stationeers
game: Sven Co-op
game: Team Fortress 2
game: Teamspeak 3
game: Teeworlds
game: Terraria
game: The Front
game: Unreal Tournament 2004
game: Unreal Tournament 3
game: Unreal Tournament 99
game: Unturned
game: Valheim
game: Wurm Unlimited
game: Zombie Master Reborn
game: label missing
good first issue
help wanted
info: alerts
info: dependency
info: docker
info: docs
info: email
info: query
info: steamcmd
info: systemd
info: tmux
info: website
info: website
needs more info
outcome: duplicate
outcome: issue resolved
outcome: issue resolved
outcome: issue unresolved
outcome: pr accepted
outcome: pr rejected
outcome: unconfirmed
outcome: wontfix
outcome: wrong forum
potential-duplicate
priority
pull-request
type: bug
type: feature
type: feature
type: feature request
type: game server request
type: refactor
waiting response
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/LinuxGSM#2048
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @milano-slesarik on GitHub (Apr 30, 2020).
Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/2855
Everything seems to be working except I can't connect to the server (Medal Of Honor Allied Assault). The port is closed from outside but I have a fresh Ubuntu 16.04 installation and there is no UFW.
I'm not sure but I think it has something to do with ports.
I created a Ubuntu 16.04 server on DigitalOcean and set ip=""
I tried both IP's - internal and external
MOHAA always says "Connection timed out"
https://openport.net/udp-port-checker/ says the connection is closed.
I tried multiple ports 12203,12205,11111 etc.
After every try, I, of course, restarted the server.
Maybe, this could be documented. Do you know the reason?
`
mohaaserver@ubuntu-mohaa:~$ ./mohaaserver debug
Medal of Honor: Allied Assault Debug
Distro: Ubuntu 16.04.6 LTS
Arch: x86_64
Kernel: 4.4.0-169-generic
Hostname: ubuntu-mohaa
tmux: tmux 2.1
Avg Load: 0.00, 0.00, 0.00
Free Memory: 788MB
Free Disk: 18G
glibc required: 2.3
Server IP: 161.35.16.214:12205
Server password: NOT SET
Start parameters:
./mohaa_lnxded +set sv_punkbuster 0 +set fs_basepath /home/mohaaserver/serverfiles +set fs_outputpath /home/mohaaserver/serverfiles/Logs +set dedicated 2 +set net_ip 161.35.16.214 +set net_port 12205 +exec mohaaserver.cfg +map dm/mohdm6
Use for identifying server issues only!
Press CTRL+c to drop out of debug mode.
Warning! If mohaaserver is already running it will be stopped.
Continue? [Y/n] Y
[ INFO ] Debug mohaaserver: Stopping any running servers
[ INFO ] Stopping mohaaserver: LinuxGSM is already stopped
[ OK ] Debug mohaaserver: Starting debug
--- Common Initialization ---
Medal of Honor Allied Assault 1.11 linux-i386 Jul 22 2004
----- FS_Startup -----
Current search path:
/home/mohaaserver/.mohaa/main
/home/mohaaserver/serverfiles/main
/home/mohaaserver/serverfiles/main/pak6.pk3 (104 files)
/home/mohaaserver/serverfiles/main/Pak5.pk3 (259 files)
/home/mohaaserver/serverfiles/main/Pak4.pk3 (593 files)
/home/mohaaserver/serverfiles/main/Pak3.pk3 (669 files)
/home/mohaaserver/serverfiles/main/Pak2.pk3 (4722 files)
/home/mohaaserver/serverfiles/main/Pak1.pk3 (772 files)
/home/mohaaserver/serverfiles/main/Pak0.pk3 (11175 files)
18294 files in pk3 files
execing default.cfg
execing menu.cfg
execing newconfig.cfg
Config: unnamedsoldier.cfg
execing configs/unnamedsoldier.cfg
couldn't exec localized.cfg
execing autoexec.cfg
You are now setup for easy mode.
Opening IP socket: 161.35.16.214:12205
Hostname: ubuntu-mohaa
Alias: ubuntu-mohaa
IP: 127.0.1.1
--- Common Initialization Complete --- 235 ms
--- Localization: I see 0 localization files
--- Localization: reading file global/localization.txt
Loading Localization File global/localization.txt
Loaded 1242 localization entries
execing mohaaserver.cfg
sv_maxClients will be changed upon restarting.
g_gametype will be changed upon restarting.
------ Server Initialization ------
Server: dm/mohdm7
------ Unloading fgameded.so ------
------- Attempting to load /home/mohaaserver/serverfiles/fgameded.so -------
------------------ MoH:AA 1.12 Reborn Patch InitGame ------------------
Initializing SignalHandlers. Done!
Initializing CVARS. Done!
--> Next update check will be performed after 11 hours (0 day/s)!
Initializing Chat Filter. Done!
Initializing Banned Names List. Done!
Initializing Banned IPs List. Done!
Initializing Allowed Votes List. Done!
Initializing Allowed Maps List. Done!
Initializing Admins List. Done!
Initializing Protected Names List. Done!
Reborn.map mapped into address space. Shared settings initialized!
LocalizationError fix Address: 0x080ADE9E
LocalizationError removal fix applied.
BulletAttack Address: 0xf5db7990
GetMuzzlePosition Address: 0xf5da8be0
GetEntityTag Address: 0xf5cea990
Player::Respawn Address: 0xf5d36cb0
Player::Killed Address: 0xf5d36e60
Entity::Damage Address: 0xf5ce7af0
Player::JumpXY Address: 0xf5d3b6d0
BulletAttack: Hooked correctly.
Anti Wallhack/Visuals Protection applied
Black Window Patch Address: 0xf5db815a
Shoot through Black Window/Furniture/Light Bulbs Hack Protection applied
RConFlood Patch Address: 0x808ce4f
RConFlood Crash Protection applied
InfoBoom Patch Address: 0x807930b & 0x8079296
InfoBoom Crash Protection applied
SV_UpdateUserinfo_f Address: 0x8087c00
UserInfo Buffer overflow protection applied (512 chars limit)
ScriptedEvents System Initialized
Kick/Ban Announcements Initialized
Internal Packet Flood Protection Initialized
Allowed remote tool IP: 127.0.0.1 (7f000001)
---------------- MoH:AA 1.12 Reborn Patch InitFinished ----------------
^
^^ Box data is corrupted for 'models/human/allied_pilot/allied_pilot.skd'^
^^ Morph targets data is corrupted for 'models/human/allied_pilot/allied_pilot.skd'------ Server Initialization Complete ------ 0.65 seconds
^
^^ Add the following line to the *_precache.scr map script:cache models/fx/dummy.tik
------ Server Initialization ------
Server: dm/mohdm6
------------------ MoH:AA 1.12 Reborn Patch Shutdown ------------------
Shared settings memory deinitialized correctly.
LocalizationError removal fix shutdown.
BulletAttack: Unhooked correctly.
Anti Wallhack/Visuals protection shutdown
UserInfo Buffer overflow protection shutdown
Kick/Ban Announcements Deinitialized
ScriptedEvents System Deinitialized
Internal Packet Flood Protection Deinitialized
SignalHandlers Deinitialized
----------------- MoH:AA 1.12 Reborn Patch ShutdownEnd ----------------
------ Unloading fgameded.so ------
------- Attempting to load /home/mohaaserver/serverfiles/fgameded.so -------
------------------ MoH:AA 1.12 Reborn Patch InitGame ------------------
Initializing SignalHandlers. Done!
Initializing CVARS. Done!
--> Next update check will be performed after 11 hours (0 day/s)!
Initializing Chat Filter. Done!
Initializing Banned Names List. Done!
Initializing Banned IPs List. Done!
Initializing Allowed Votes List. Done!
Initializing Allowed Maps List. Done!
Initializing Admins List. Done!
Initializing Protected Names List. Done!
Reborn.map mapped into address space. Shared settings initialized!
LocalizationError fix Address: 0x080ADE9E
LocalizationError removal fix applied.
BulletAttack Address: 0xf5db7990
GetMuzzlePosition Address: 0xf5da8be0
GetEntityTag Address: 0xf5cea990
Player::Respawn Address: 0xf5d36cb0
Player::Killed Address: 0xf5d36e60
Entity::Damage Address: 0xf5ce7af0
Player::JumpXY Address: 0xf5d3b6d0
BulletAttack: Hooked correctly.
Anti Wallhack/Visuals Protection applied
Black Window Patch Address: 0xf5db815a
Shoot through Black Window/Furniture/Light Bulbs Hack Protection applied
RConFlood Patch Address: 0x808ce4f
RConFlood Crash Protection applied
InfoBoom Patch Address: 0x807930b & 0x8079296
InfoBoom Crash Protection applied
SV_UpdateUserinfo_f Address: 0x8087c00
UserInfo Buffer overflow protection applied (512 chars limit)
ScriptedEvents System Initialized
Kick/Ban Announcements Initialized
Internal Packet Flood Protection Initialized
Allowed remote tool IP: 127.0.0.1 (7f000001)
---------------- MoH:AA 1.12 Reborn Patch InitFinished ----------------
^
^^ Box data is corrupted for 'models/human/allied_pilot/allied_pilot.skd'^
^^ Morph targets data is corrupted for 'models/human/allied_pilot/allied_pilot.skd'------ Server Initialization Complete ------ 0.34 seconds
Hitch warning: 1035 msec frame time
Client 0 connecting with 3050 challenge ping
Client 0 connecting with 6050 challenge ping
Client 0 connecting with 9050 challenge ping
Client 0 connecting with 12050 challenge ping
`
@UltimateByte commented on GitHub (May 1, 2020):
Hello,
I assume this is a local server?
You first need to make sure the process actually listens to anything before checking ports opening. By the way, what you are looking for is actually port forwarding from the router if running a local server.
This "Allowed remote tool IP: 127.0.0.1" caught my attention: Are you listening to an actual interface IP? If not, make sure you are.
Please check this out:
https://docs.linuxgsm.com/support/troubleshooting#connectivity-issues
Also check this out to clarify some of the points you talked about: https://docs.linuxgsm.com/configuration/ports
Regarding the details provided, this is most likely not an issue with LinuxGSM itself, therefore this issue should be discussed on user support channels such as Discord first and this issue will be closed. Please, re-open if you thing this is an actual LinuxGSM bug.
https://docs.linuxgsm.com/support
@github-actions[bot] commented on GitHub (May 2, 2021):
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.