Settings

Configure MySQL, then start the server (same flow as the Java Server app)

MySQL Database

Connected

Socket Server

Running
Public relay remote08.emerald-isp.com:9847
Relay port 9847 Open
WebSocket proxy /ws Open

Online only — browsers connect via:

wss://remote08.emerald-isp.com/ws

Apache proxies /ws to the relay on this server. Enable proxy + proxy_wstunnel.

Configure MySQL, click Test Connection, then Start Server. Public host is shown to users; relay ports run on this VPS only.

SSH fallback if Start Server fails from the browser:

cd /var/www/remote08.emerald-isp.com && nohup /usr/bin/php server/run.php >> storage/server-run.log 2>&1 &

Server running on port 9847

Server log

[2026-07-02 00:05:12] Server running on port 9847 (HTTP bridge OK)
[2026-07-02 00:05:34] Agent registered (HTTP): 749 733
[2026-07-02 00:05:54] HTTP viewer connected: 900002
[2026-07-02 00:05:54] Session started -> 749 733
[2026-07-02 00:07:21] Fatal: ServerRepository::updatePresence(): Argument #1 ($deviceId) must be of type string, int given, called in /var/www/remote08.emerald-isp.com/includes/remote_server.php on line 833
[2026-07-02 00:07:45] Starting server with PHP: /usr/bin/php
[2026-07-02 00:07:45] Starting server on port 9847...
[2026-07-02 00:07:45] Browser bridge on port 9848 (WebSocket + HTTP)
[2026-07-02 00:07:45] Open: https://remote08.emerald-isp.com/
[2026-07-02 00:07:45] Agent/Viewer should connect to: remote08.emerald-isp.com:9847
[2026-07-02 00:07:45] Database connected — devices table ready
[2026-07-02 00:07:46] Server running on port 9847 (HTTP bridge OK)

Process output (server-run.log)

[2026-07-01 23:03:40] Launch command: php C:\xampp\htdocs\emerald_remotedesktop\server\run.php
[2026-07-01 23:41:54] Launch command: php C:\xampp\htdocs\emerald_remotedesktop\server\run.php
[2026-07-02 00:03:29] Launch command: /usr/bin/php /var/www/remote08.emerald-isp.com/server/run.php
[2026-07-02 00:03:29] PID 1210265 starting remote server
[2026-07-02 00:05:09] Fatal: ServerRepository::updatePresence(): Argument #1 ($deviceId) must be of type string, int given, called in /var/www/remote08.emerald-isp.com/includes/remote_server.php on line 833
[2026-07-02 00:05:11] Launch command: /usr/bin/php /var/www/remote08.emerald-isp.com/server/run.php
[2026-07-02 00:05:11] PID 1210374 starting remote server
[2026-07-02 00:07:21] Fatal: ServerRepository::updatePresence(): Argument #1 ($deviceId) must be of type string, int given, called in /var/www/remote08.emerald-isp.com/includes/remote_server.php on line 833
[2026-07-02 00:07:45] Launch command: /usr/bin/php /var/www/remote08.emerald-isp.com/server/run.php
[2026-07-02 00:07:45] PID 1210525 starting remote server