Details
-
Type: Improvement
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 4.6.0-b1
-
Component/s: None
-
Labels:None
Description
The DirectAdmin API only communicates over port 2222 (the default port), but some users may need to change the port for various reasons (e.g. because of Cloudflare).
- Create a Port field on the module row when adding/editing the module row
- Default the port to 2222
- Use the port field for API requests
- Call (and update) DirectAdminApi::setUrl($url, $port = '2222') to include the port