Issue with TF2 and Gmod servers installation and running
Operating System
Windows Server 2019
AMP Version and Build Date
latest
AMP Release Stream
Mainline
I confirm that
- [x] I have searched for an existing bug report for this issue.
- [x] I am using the latest available version of AMP.
- [x] my operating system is up-to-date.
Intended Action
I have tried everything from reinstalling AMP to opening ports and reinstalling the servers for gmod and team fortress 2 and it can't start the server i keep getting this error - i have no issues with minecraft or palworld starting they work but can't get Team Fortress 2 or Garry's Mod Servers to work and start
Application Error A fault is preventing the application from starting. Manage the instance to examine the logs.
i look at the logs and get this error
[02:59:26] [Core Error/7] : SocketException [02:59:26] [Core Error/7] : [0] (SocketException) : The requested address is not valid in its context. [02:59:26] [Core Error/7] : at Net.Sockets.Socket.UpdateStatusAfterSocketErrorAndThrowException(SocketError error, Boolean disconnectOnFailure, String callerName) at Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress) at Net.Sockets.Socket.Bind(EndPoint localEP) at RCONPlugin.UDPlogger..ctor(IPAddress ListenAddress) at GenericModule.GenericApp.SetupUDPLogger() at GenericModule.GenericApp.SetupProcess() at GenericModule.GenericApp.DoAppStartup(Boolean IsUpdating) at GenericModule.GenericApp.Start()
Am unsure how to fix any help would be appreciated
Expected Behaviour
The server to start like the minecraft and palworld servers
Actual Behaviour
Can't start the servers Errors and not sure how to fix
Application Error A fault is preventing the application from starting. Manage the instance to examine the logs.
Reproduction
Not sure
i tested it works fine if i use a start.bat file to start the servers but if i use the AMP system it will not bootup the Garry's Mod Servers Or Team Fortress 2 Servers - not sure how to fix this error so please help
What IP do you have selected when you click the pencil icon for that instance and go to the network tab?
I have the main selected it will. Bootup through a bat file but not the main program
On Sat, Aug 2, 2025, 3:17 PM IceOfWraith @.***> wrote:
IceOfWraith left a comment (CubeCoders/AMP#1349) https://github.com/CubeCoders/AMP/issues/1349#issuecomment-3146679371
What IP do you have selected when you click the pencil icon for that instance and go to the network tab?
— Reply to this email directly, view it on GitHub https://github.com/CubeCoders/AMP/issues/1349#issuecomment-3146679371, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADI2JJ6EVGXH2KHQEALMAB33LUFD5AVCNFSM6AAAAACC6GPTPOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTCNBWGY3TSMZXGE . You are receiving this because you authored the thread.Message ID: @.***>
I need to know what you selected. Main doesn't mean anything to me.
I have 10.0.5.110 selected
On Sat, Aug 2, 2025, 3:25 PM IceOfWraith @.***> wrote:
IceOfWraith left a comment (CubeCoders/AMP#1349) https://github.com/CubeCoders/AMP/issues/1349#issuecomment-3146682991
I need to know what you selected. Main doesn't mean anything to me.
— Reply to this email directly, view it on GitHub https://github.com/CubeCoders/AMP/issues/1349#issuecomment-3146682991, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADI2JJ3CCGI7LU3FLK7QUKT3LUGDTAVCNFSM6AAAAACC6GPTPOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTCNBWGY4DEOJZGE . You are receiving this because you authored the thread.Message ID: @.***>
This is the error i also get
[19:34:25] [steamcmdplugin Info/15] : SteamCMD Update successful [19:34:30] [Generic Info/11] : Merging config file ./garrysmod/4020/garrysmod/cfg/server.cfg (Template) using Unicode (UTF-8) encoding. [19:34:30] [Generic Info/15] : Writing config file ./garrysmod/4020/garrysmod/lua/autorun/server/resource.lua using Unicode (UTF-8) encoding. [19:34:31] [Core Error/5] : SocketException [19:34:31] [Core Error/5] : [0] (SocketException) : The requested address is not valid in its context. [19:34:31] [Core Error/5] : at Net.Sockets.Socket.UpdateStatusAfterSocketErrorAndThrowException(SocketError error, Boolean disconnectOnFailure, String callerName) at Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress) at Net.Sockets.Socket.Bind(EndPoint localEP) at RCONPlugin.UDPlogger..ctor(IPAddress ListenAddress) at GenericModule.GenericApp.SetupUDPLogger() at GenericModule.GenericApp.SetupProcess() at GenericModule.GenericApp.DoAppStartup(Boolean IsUpdating) at GenericModule.GenericApp.Start() [19:40:02] [Core Info/3] : Stop requested: Soft-stop requested via IPC [19:40:02] [Core Notice/1] : AMP shutdown requested. [19:40:02] [Core Notice/1] : Stopping Application... [19:40:02] [RCON Info/1] : Source RCON disconnecting... [19:40:03] [RCON Info/1] : Source RCON disconnected [19:40:08] [RCON Info/1] : Source RCON disconnecting... [19:40:09] [RCON Info/1] : Source RCON disconnected [19:40:09] [Core Notice/1] : Stopping Web Server... [19:40:09] [Webserver Info/1] : Web server shutdown. [19:40:09] [Core Notice/1] : Goodbye! I miss you Casper. <3
i selected every ip and still the same errors
Are you running this over a VPN? Do you have a static IP set on your server?
it isn't hosted on a vpn i even tried on a different machine same errors
Do you have a static IP set on your server?
yes
Share a screenshot of the "IP Address Pool" option by searching for it in the top right of AMP.
the weird thing is Minecraft servers and palworld servers will run it's just any server that uses srcds won't for some reason
Not weird. There's certain logic needed to run SRCDS servers that the others don't have.
Gotta get that screenshot to move forward though.
what would you like a screenshot of the logs
Share a screenshot of the "IP Address Pool" option by searching for it in the top right of AMP.
This^
Delete everything in there. Then restart AMP. Share the screenshot again.
same info
nothing changed in the screenshot
Click the pencil icon for one of those instances and under the Network tab turn off "Use Host-Mode Networking" and see how it behaves.
it is greayed out won't let me turn it off
ok i got it to turn off on a new instance but it still throws a error
Yeah, that shouldn't matter actually. Got mixed up with another support thread. I'm trying this on my end to see how it behaves.
ok
not sure why tf2 and gmod wants to throw errors wish they would work because they work fine in a regular .bat file to start the server and it allows players to join so not sure what is different
You can't really compare the two. AMP functions extremely different from the .bat file. AMP uses the RCON and monitors the UDP logging function of the game servers. And it's in those that the original errors are coming. But that latest log you shared is different yet again. So I'm not quite following where the issue is for your setup yet.