mirror of
https://github.com/WSA-Installer/wsa-webdav.git
synced 2026-07-29 11:24:16 -07:00
1.4 KiB
1.4 KiB
Configuration
WSA WebDev is configured via config.json.
Default Configuration
{
"port": 8088,
"host": "127.0.0.1",
"rootAccess": true,
"anonymousAccess": true,
"maxConnections": 50
}
Configuration Options
| Option | Type | Default | Description |
|---|---|---|---|
port |
integer | 8088 | Server port |
host |
string | "127.0.0.1" | Server host |
rootAccess |
boolean | true | Enable root filesystem access |
anonymousAccess |
boolean | true | Allow anonymous access |
maxConnections |
integer | 50 | Maximum concurrent connections |
Changing Configuration
Via Web File Manager
- Open the web file manager
- Navigate to
/data/data/com.wsa.webdav/files/ - Edit
config.json - Restart the server
Via ADB
adb shell "echo '{\"port\": 9090}' > /data/data/com.wsa.webdav/files/config.json"
adb shell am broadcast -a com.wsa.webdav.RESTART
Port Configuration
The default port is 8088. To change it:
- Update
config.json - Restart the WebDAV server
- Update the port forward:
adb forward tcp:NEW_PORT tcp:NEW_PORT
Security Considerations
- The server is designed for local use only
- Do not expose port 8088 to the network without authentication
- Root access provides full filesystem access — use with caution
- Anonymous access allows unauthenticated connections