Yalnızca ürünü satın alan veya kiralayan kullanıcılar yorum yazabilir
Evgenii Kriachkin  

🛠 How to setup a Private NTFY Server on Windows (In 5 Minutes)

Do not want to use the public ntfy.sh cloud? You can easily host your own secure, private notification infrastructure.

Requirements: A Windows VPS or a Home PC with a Static (White) IP address.


Step 1: Download & Extract

  1. Download the latest Windows binary ( ntfy_X.X.X_windows_x86_64.zip ) from the official GitHub releases: [github.com/binwiederhier/ntfy/releases](https://github.com/binwiederhier/ntfy/releases)

  2. Extract the ntfy.exe file into a new folder on your C: drive, for example: C:\ntfy\

Step 2: Create the Configuration File Create a text file named server.yml in your C:\ntfy\ folder and paste the following configuration. Replace YOUR_IP with your actual VPS/PC Static IP.

<<<YAML>>>

# C:\ntfy\server.yml base-url: "http://YOUR_IP:39090" listen-http: ":39090" auth-file: "C:\\ntfy\\user.db" auth-default-access: "deny-all"

Step 3: Create an Admin User and Token Open the Windows Command Prompt ( cmd.exe ) as Administrator and run the following commands to secure your server:

  1. Navigate to your folder: cd C:\ntfy\

  2. Create an admin user (it will ask you to create a password): ntfy user add --role admin admin

  3. Give this user read/write access to all topics: ntfy access admin * rw

  4. Generate a secret access token for your MT5 EA: ntfy token add admin (Copy the generated tk_... token and paste it into the MT5 EA input settings!)

Step 4: Run as a Background Service (NSSM) To ensure your server runs automatically even if you reboot the VPS, install it as a Windows Service using the free NSSM utility.

  1. Download NSSM from nssm.cc and put nssm.exe in C:\ntfy\ .

  2. In the Administrator Command Prompt, run: nssm install ntfy_server

  3. A window will pop up. Configure it as follows:

    • Path: C:\ntfy\ntfy.exe

    • Arguments: serve -c C:\ntfy\server.yml

  4. Click "Install Service", then start it: nssm start ntfy_server

Step 5: Open Firewall Ports Ensure that TCP port 39090 is open in your Windows Firewall and your VPS provider's network panel.

Done! Your private push-notification infrastructure is live. Open the NTFY app on your smartphone, add a subscription, and use your http://YOUR_IP:39090/topic_name URL. Log in using the admin user/password you created in Step 3.