Trouble with Unity server hosting
So I'm trying to create a server and client in Unity of my game. The server handles physics simulation, while the client is just a glorified UI. I'm using Google Cloud's free trial to create an Ubuntu server and uploaded my server, but something must be wrong: the server doesn't look like it's opening port 7777!
omiyagames@---:~/v0.3$ ./everybody_plays_golf.x86_64 -batchmode -nographics -logfile log.text &
omiyagames@---:~/v0.3$ sudo netstat -anp
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1681/sshd
tcp 0 0 10.142.0.2:46354 169.254.169.254:80 ESTABLISHED 1615/python3
tcp 0 0 10.142.0.2:46350 169.254.169.254:80 ESTABLISHED 1613/python3
tcp 0 0 10.142.0.2:22 24.105.162.149:53340 ESTABLISHED 6174/sshd: omiyagam
tcp 0 464 10.142.0.2:22 74.125.72.164:44100 ESTABLISHED 5999/sshd: omiyagam
tcp 0 0 10.142.0.2:46344 169.254.169.254:80 CLOSE_WAIT 1613/python3
tcp 0 0 10.142.0.2:46352 169.254.169.254:80 ESTABLISHED 1614/python3
tcp6 0 0 :::22 :::* LISTEN 1681/sshd
udp 0 0 0.0.0.0:68 0.0.0.0:* 1053/dhclient
udp 0 0 10.142.0.2:123 0.0.0.0:* 1518/ntpd
udp 0 0 127.0.0.1:123 0.0.0.0:* 1518/ntpd
udp 0 0 0.0.0.0:123 0.0.0.0:* 1518/ntpd
udp6 0 0 fe80::4001:aff:fe8e:123 :::* 1518/ntpd
udp6 0 0 ::1:123 :::* 1518/ntpd
udp6 0 0 :::123 :::* 1518/ntpd
The code is open-source, with the most relevant script being ServerManager.cs. So, anyway, I either need this fixed, or have a backup plan. Any ideas?
Edit: also, the log:
Set current directory to /home/omiyagames/v0.3
Found path: /home/omiyagames/v0.3/everybody_plays_golf.x86_64
Mono path[0] = '/home/omiyagames/v0.3/everybody_plays_golf_Data/Managed'
Mono config path = '/home/omiyagames/v0.3/everybody_plays_golf_Data/Mono/etc'
Player data archive not found at `/home/omiyagames/v0.3/everybody_plays_golf_Data/data.unity3d`, using local filesystem
Initialize engine version: 2017.1.0f3 (472613c02cf7)
Forcing GfxDevice: Null
NullGfxDevice:
Version: NULL 1.0 [1.0]
Renderer: Null Device
Vendor: Unity Technologies
AudioManager: Using Unknown: NoSound Driver
Begin MonoManager ReloadAssembly
Platform assembly: /home/omiyagames/v0.3/everybody_plays_golf_Data/Managed/UnityEngine.dll (this message is harmless)
Loading /home/omiyagames/v0.3/everybody_plays_golf_Data/Managed/UnityEngine.dll into Unity Child Domain
Platform assembly: /home/omiyagames/v0.3/everybody_plays_golf_Data/Managed/Assembly-CSharp-firstpass.dll (this message is harmless)
Loading /home/omiyagames/v0.3/everybody_plays_golf_Data/Managed/Assembly-CSharp-firstpass.dll into Unity Child Domain
Platform assembly: /home/omiyagames/v0.3/everybody_plays_golf_Data/Managed/Assembly-CSharp.dll (this message is harmless)
Loading /home/omiyagames/v0.3/everybody_plays_golf_Data/Managed/Assembly-CSharp.dll into Unity Child Domain
Platform assembly: /home/omiyagames/v0.3/everybody_plays_golf_Data/Managed/UnityEngine.UI.dll (this message is harmless)
Loading /home/omiyagames/v0.3/everybody_plays_golf_Data/Managed/UnityEngine.UI.dll into Unity Child Domain
Platform assembly: /home/omiyagames/v0.3/everybody_plays_golf_Data/Managed/UnityEngine.Networking.dll (this message is harmless)
Loading /home/omiyagames/v0.3/everybody_plays_golf_Data/Managed/UnityEngine.Networking.dll into Unity Child Domain
Platform assembly: /home/omiyagames/v0.3/everybody_plays_golf_Data/Managed/UnityEngine.Timeline.dll (this message is harmless)
Loading /home/omiyagames/v0.3/everybody_plays_golf_Data/Managed/UnityEngine.Timeline.dll into Unity Child Domain
Platform assembly: /home/omiyagames/v0.3/everybody_plays_golf_Data/Managed/UnityEngine.Analytics.dll (this message is harmless)
Loading /home/omiyagames/v0.3/everybody_plays_golf_Data/Managed/UnityEngine.Analytics.dll into Unity Child Domain
Platform assembly: /home/omiyagames/v0.3/everybody_plays_golf_Data/Managed/TextMeshPro-1.0.55.56.0b11.dll (this message is harmless)
Loading /home/omiyagames/v0.3/everybody_plays_golf_Data/Managed/TextMeshPro-1.0.55.56.0b11.dll into Unity Child Domain
Platform assembly: /home/omiyagames/v0.3/everybody_plays_golf_Data/Managed/System.dll (this message is harmless)
Platform assembly: /home/omiyagames/v0.3/everybody_plays_golf_Data/Managed/System.Core.dll (this message is harmless)
- Completed reload, in 0.017 seconds
UnloadTime: 0.846000 ms
Setting up 1 worker threads for Enlighten.
Thread -> id: 7f025effd700 -> priority: 1