This repository has been archived by the owner on Sep 5, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 16
Remote connection
Álvaro S edited this page Jun 27, 2016
·
1 revision
With ASFui you can manage a remote connection of ASF.
To enable remote connection you need to configure first WCFHostname
and WCFPort
(if you want to change the port) in the file ASF.json
, inside config
folder. The value of WCFHostname
should be your server IP or domain name.
Then start ASF with --server
argument. You may read this if you are using Linux and want to run it in the background. The bash script is different and you should use this instead:
#!/bin/bash
set -eu # Immediately abort script in case of error
cd "$(dirname "$(readlink -f "$0")")" # Navigate to script directory
while [[ -f ASF.exe ]]; do # While ASF.exe binary exists
if ! mono ASF.exe --server; then # Start ASF, and if it exited with error
break # Abort the loop
fi # Otherwise
done # Start ASF.exe again
Finally start ASFui, click on the settings button, select remote and insert http://<IP/domain>:<port>/ASF
If the configuration is correct the settings will be saved.