ME1312 / SubServers-2

SubServers – The Minecraft Server Management Platform
Apache License 2.0
91 stars 23 forks source link

How do I get SubServers.Host working on another machine? #79

Closed ajh123 closed 2 years ago

ajh123 commented 2 years ago

Platform Information

My SubServers.Host with IP of 192.168.0.12

>ver
[12:02:41] [SubServers/MESSAGE] > These are the platforms and versions that are running SubServers.Host:
[12:02:41] [SubServers/MESSAGE] >   Linux 5.15.32-v8+ [aarch64],
[12:02:41] [SubServers/MESSAGE] >   Java 17.0.3 [64-bit],
[12:02:41] [SubServers/MESSAGE] >   GalaxiEngine v3.7.0a (22w16a),
[12:02:41] [SubServers/MESSAGE] >   SubServers.Host v2.19a (22w24a)
[12:02:41] [SubServers/MESSAGE] >
[12:02:41] [SubServers/MESSAGE] > You are on the latest version.

My SubServers.Bungee with IP of 192.168.0.34

12:02:34 [INFO] CONSOLE executed command: /sub ver
12:02:34 [INFO] SubServers > These are the platforms and versions that are running SubServers.Bungee:
12:02:34 [INFO]   Windows 10 (19044.1766) [x64],
12:02:34 [INFO]   Java 17.0.1 [x64],
12:02:34 [INFO]   BungeeCord git:BungeeCord-Bootstrap:1.19-R0.1-SNAPSHOT:ff5727c:1644,
12:02:34 [INFO]   SubServers.Bungee v2.19a (22w24a)
12:02:34 [INFO] 
12:02:35 [INFO] You are on the latest version.

These machines are both on the same network.

What Happened

My SubServers.Host can't seem to conenct to SubServers.Bungee, I just keep getting,

pi@raspberrypi:/mnt/servers/server $ sudo java -jar SubServers.Host.jar
[11:55:19] [SubServers/INFO] > Loading GalaxiEngine v3.7.0a Libraries
[11:55:19] [SubServers/INFO] > Loading SubServers.Host v2.19a Libraries
[11:55:19] [SubData/INFO] >
[11:55:19] [SubData/INFO] > Connecting to /192.0.168.34:4391
[11:57:30] [SubData/INFO] > Connection was unsuccessful, retrying in 60 seconds
[11:59:41] [SubData/INFO] > Connection was unsuccessful, retrying in 60 seconds
[12:01:52] [SubData/INFO] > Connection was unsuccessful, retrying in 60 seconds
[12:04:04] [SubData/INFO] > Connection was unsuccessful, retrying in 60 seconds
[12:06:15] [SubData/INFO] > Connection was unsuccessful, retrying in 60 seconds
[12:08:26] [SubData/INFO] > Connection was unsuccessful, retrying in 60 seconds

How It Happened

My SubServers.Bungee config is

Settings:
  Version: 22w07c
  Strict-Server-Linking: true
  Disabled-Overrides: []
  Smart-Fallback:
    Enabled: true
    Fallback: true
    Reconnect: false
    DNS-Forward: false
  UPnP:
    Forward-Proxy: true
    Forward-SubData: false
    Forward-Servers: false
  SubData:
    Address: 0.0.0.0:4391
    Encryption: None
    Whitelist:
    - '127.0.0.1'
    - '192.168.0.34'
Hosts:
  '~':
    Enabled: true
    Display: Default
    Driver: VIRTUAL
    Address: 127.0.0.1
    Port-Range: 25500-25559
    Directory: ./SubServers/Servers
    Git-Bash: '%ProgramFiles%\Git'
    Log-Creator: true
  'gbgmpi1':
    Enabled: true
    Display: Default
    Driver: NETWORK
    Address: 192.168.0.12
    Port-Range: 25500-25559
    Directory: ./Servers
    Git-Bash: '%ProgramFiles%\Git' #I know I don't need this, on this machine.
    Log-Creator: true

And my SubServers.Host config

Settings:
  Version: 22w24a
  Console-Log: true
  Network-Log: true
  Download-Templates: true
  Server-Bind: 192.0.168.12 #Also tried 0.0.0.0
  UPnP:
    Forward-Servers: false
  SubData:
    Name: gbgmpi1
    Address: 192.0.168.34:4391

Additional Information

I've looked in the Windows Firewall and can't seen to allow the SubServers.Bungee.jar or BungeeCord.jar as the firewall can only allow .exe through. Also the java.exe is already allowed through the firewall. I'm also able to ping each machine.

ME1312 commented 2 years ago

192.0.168.34

192.168.0.34

It seems like this is probably just a simple typo getting the best of you in this case.

ajh123 commented 2 years ago

Yes! That was it. Should of gone to Specsavers!