SunLicense Server Setup VPS Guide (Without Pterodactyl)
Prerequisites
- Java 21+ installed
- A valid SunLicense license key. See Get your license key.
1. Upload required files
Transfer the following files to your VPS:server.jar(SunLicense server file)license.txt(contains your license key)
scp or an FTP client like FileZilla. Example using scp:
2. Start the SunLicense server
Navigate to the directory containingserver.jar and license.txt, then run:
- Replace
25595with the desired port number. - Make sure the port is open in your firewall settings.
3. Verify local access
Once the server starts, check it from the VPS itself:4. Expose to the internet (optional)
To access SunLicense from an external network, configure a reverse proxy with Nginx. Install NginxCTRL + X, then Y, then Enter).
Enable the configuration and restart Nginx
http://yourdomain.com.
5. Run on port 80 (alternative)
If you don’t want to use Nginx, run SunLicense directly on port 80:This works only if no other services (like Nginx or Apache) are using port 80.
6. Configure the firewall (if required)
7. Keep SunLicense running
To keep SunLicense running after you close the terminal, usescreen or tmux:
- screen
- tmux
CTRL + A, then D to detach. To resume: