Rust server not listening on ports

OS Name/Version: Debian 12

Product Name/Version: Rust

Problem Description:

When I start the Rust server, I see the Application State reported as “Starting” but nothing appears in the web console (it’s just black) and I can’t connect to the game server.

  CubeCoders AMP  💻amp@localhost  📁~  ampinstmgr ports FriendsUCanKeep01
[Info] AMP Instance Manager v2.4.6 built 02/08/2023 19:48
[Info] Stream: Mainline / Release - built by CUBECODERS/buildbot on CCL-DEV
[Info] Port usage for FriendsUCanKeep01 (Friends U Can Keep)
[Info] Instance is currently running.
[Info] LISTENING	8081	TCP	(Core.Webserver.Port)
[Info] LISTENING	2224	TCP	(FileManagerPlugin.SFTP.SFTPPortNumber)
[Info] CLOSED   	28015	UDP	(RustModule.Rust.Port)
[Info] CLOSED   	28016	UDP	(RustModule.Rust.QueryPort)
[Info] CLOSED   	5678	TCP	(RustModule.Rust.RconPort)
[Info] CLOSED   	28082	TCP	(RustModule.Rust.AppPlusPort)
  CubeCoders AMP  💻amp@localhost  📁~  ampinstmgr dumpfirewall
[Info] AMP Instance Manager v2.4.6 built 02/08/2023 19:48
[Info] Stream: Mainline / Release - built by CUBECODERS/buildbot on CCL-DEV
[Error] No firewall manager available.

Steps to reproduce:

  • Install AMP via Linode StackScript
  • Update AMP
  • Create new instance
  • Run Rust Server
  • Attempt to connect

Actions taken to resolve so far:

I’ve tried changing the config, renaming the server and description, deleting and creating a new Linode, searching these forums for clues. No joy.

I deleted the Linode and created a new one using the same StackScript but this time Debian 11 instead of 12. The installation did not finish, so I re-ran the getamp.sh script that was left in the /root folder to install again, and then updated AMP and set up the instance.

I still have the same problem. The “Application State” is now showing as “Started” but I cannot connect from the game, and the ports show as being closed. The console is empty. CPU usage is showing as 5% and Memory usage is showing as 3.70 / 3.83 GB.

root@localhost:~# cat AMPInstall.log
Reading package lists...
Building dependency tree...
Reading state information...
dnsutils is already the newest version (1:9.16.37-1~deb11u1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
--2023-08-22 04:12:31--  https://cubecoders.com/getamp.sh
Resolving cubecoders.com (cubecoders.com)... 2001:41d0:800:1e2b::c00b:c0de, 198.244.186.210
Connecting to cubecoders.com (cubecoders.com)|2001:41d0:800:1e2b::c00b:c0de|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 15742 (15K) [application/x-sh]
Saving to: ‘/root/getamp.sh’

     0K .......... .....                                      100%  223M=0s

2023-08-22 04:12:31 (223 MB/s) - ‘/root/getamp.sh’ saved [15742/15742]

Please wait while GetAMP examines your system and network configuration...
 - Checking installed packages...
 - Checking environment...
 - Checking network configuration...
 - Detecting network type...
Distribution        : debian 11
Platform            : x86_64
Internal IP address : 172.232.160.226
External IP address : 2600:3c0a::f03c:93ff:fee3:9ada
Network type        : NAT
Gateway IP address  : 172.232.160.1
Detected Firewall   : none
Service Provider    : Linode
System Locale       : en_US.UTF-8
Package Manager	    : apt-get


Installation Summary:

AMP System user:		To be created
Instance Manager:		To be installed
HTTPS setup:			Yes, via nginx with domain
Install Java:			Yes
Install 32-bit libraries:	Yes
Install Docker:			No
Installing AMP...
Creating system user...
Updating System...
Installing prerequisites...
Installing Java for Minecraft...
Installing 32-bit dependencies for srcds...
Installing nginx and certbot...
Checking settings... dig: '' is not a legal name (unexpected end of input)
Bad domain configuration.
The specified domain  could not be resolved.
If you've only recently created the domain or record
you may need to empty your DNS cache or wait for DNS propogation to complete.
Aborting setup. You can re-run this setup to try again.
  CubeCoders AMP  💻amp@localhost  📁~  ampinstmgr ports Fuuuu01
[Info] AMP Instance Manager v2.4.6 built 02/08/2023 19:48
[Info] Stream: Mainline / Release - built by CUBECODERS/buildbot on CCL-DEV
[Info] Port usage for Fuuuu01 (Fuuuu)
[Info] Instance is currently running.
[Info] LISTENING	8081	TCP	(Core.Webserver.Port)
[Info] LISTENING	2224	TCP	(FileManagerPlugin.SFTP.SFTPPortNumber)
[Info] CLOSED   	28015	UDP	(RustModule.Rust.Port)
[Info] CLOSED   	28016	UDP	(RustModule.Rust.QueryPort)
[Info] CLOSED   	5678	TCP	(RustModule.Rust.RconPort)
[Info] CLOSED   	28082	TCP	(RustModule.Rust.AppPlusPort)

Please help - thank you!

If it’s a new server, it’s normal for Rust to take an obnoxiously long time to start the first time. It won’t show any kind of feedback until its done - so just leave it for half an hour or so.

Thanks for the quick response Mike. I left the server alone for a few days and I still can’t connect to it. AMP shows it as “Application State: Running” but on the status page the only green indicator that shows is for SFTP port 2224 - the other indicators are red.

I’ve been able to run rust server by hand in the past, but would like to use AMP if it’s supported on Debian. Let me know if I can provide any more information or if you’d like root access to poke around. Thanks!

I have the exact same issue on an Ubuntu machine, all Ports are open in the VPS Firewall but same issue… Any Clues so far?

Is this a brand new server? The first time Rust starts, it takes an obnoxiously long time to get going. Chances are you just need to leave it for 20-30 minutes.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.