Follow these steps to automate your IPTV business by connecting your NXT Panel to WHMCS using the NXT protocol.
Complete Guide: Linking NXT IPTV Panel with WHMCS
Follow these steps to automate your IPTV business by connecting your NXT Panel to WHMCS.
🔑 Credentials for this Tutorial:
nxt_admin_u9S#72kLm99xZ!p22122#
Step 1: Prepare the NXT Server Database
WHMCS needs permission to write data (create users/lines) to your NXT database.
mysql -u root -p
-- Create the user for remote access
CREATE USER 'nxt_admin_u9'@'%' IDENTIFIED BY 'S#72kLm99xZ!p'; -- Grant full access to all databases (required for full panel control)
GRANT ALL PRIVILEGES ON *.* TO 'nxt_admin_u9'@'%' WITH GRANT OPTION;
-- Finalize and Exit
FLUSH PRIVILEGES;
EXIT;
#
Step 2: Add the Server in WHMCS
#
Step 3: Enter the Server Configuration
Fill in the fields exactly as follows to ensure the connection is established:
| Field | Value to Enter |
| :--- | :--- |
| Server Name | NXT IPTV Panel |
| Hostname/IP | Enter your NXT Server IP (e.g., 192.168.1.1) |
| Server Type | Select NXT from the dropdown menu |
| Username | nxt_admin_u9 |
| Password | S#72kLm99xZ!p |
| Access Hash / API Token | nxt:22122 |
Note: Entering nxt:22122 in the API Token field tells WHMCS to use the specific NXT protocol on your custom port.#
Step 4: Final Security Check
Because you are using port 22122, you must make sure your server firewall allows traffic on that port, or WHMCS will time out.
Run this on your NXT Server to open the port:
# If using UFW (Ubuntu/Debian)
sudo ufw allow 22122/tcp
sudo ufw allow 3306/tcp# If using Firewalld (CentOS/AlmaLinux)
sudo firewall-cmd --permanent --add-port=22122/tcp
sudo firewall-cmd --permanent --add-port=3306/tcp
sudo firewall-cmd --reload
#
✅ Success!
Click Save Changes and then Test Connection. Your WHMCS is now ready to automatically create IPTV lines, reset passwords, and manage subscriptions on your NXT panel.