• Skip to secondary menu
  • Skip to main content
  • Skip to primary sidebar
  • Home
  • Projects
  • Products
  • Themes
  • Tools
  • Request for Quote

Vengala Vinay

Having 9+ Years of Experience in Software Development

  • Home
  • WordPress
  • PHP
    • Codeigniter
  • Django
  • Magento
  • Selenium
  • Server
Home » How to Enable Blynk Server Ports on Ubuntu with UFW

How to Enable Blynk Server Ports on Ubuntu with UFW

If you’re self-hosting a Blynk Server, you might encounter issues where your hardware (like ESP8266 or ESP32) or mobile app cannot connect to the server. This is often caused by the server’s firewall (UFW) blocking the necessary ports.

In this guide, we’ll walk through identifying the Blynk ports and how to expose them safely.


Step 1: Identify Your Blynk Ports

First, verify that your Blynk server is actually running and see which ports it is listening on. Run the following command on your server:

sudo ss -tlnp | grep -i java

Typically, Blynk uses these three default ports:

  • 8080: HTTP port for web dashboard and non-secure app connections.
  • 9443: HTTPS port for secure App connections.
  • 8440: Hardware port for ESP8266/ESP32/Arduino devices.

Step 2: Check Your Firewall Status

Check if your firewall (UFW) is active and which rules are currently in place:

sudo ufw status verbose

If you don’t see 8080, 9443, or 8440 in the ALLOW list, the firewall is blocking them.


Step 3: Enable the Ports

Run the following commands to allow incoming traffic for Blynk:

# Allow Blynk App (Secure)
sudo ufw allow 9443/tcp

# Allow Blynk App (HTTP)
sudo ufw allow 8080/tcp

# Allow Hardware Connections
sudo ufw allow 8440/tcp

Step 4: Verify the Configuration

Confirm that the rules have been added successfully:

sudo ufw status

You should now see the rules listed as ALLOW from Anywhere.


🚀 Conclusion

Your Blynk server is now ready to receive connections!

  • App URL: https://your-server-ip:9443
  • Hardware Port: 8440

💡 Pro Tip: If you’re using a cloud provider like AWS, Google Cloud, or Azure, remember to also open these ports in your provider’s Security Group or Network Firewall settings!

Primary Sidebar

A little about the Author

Having 9+ Years of Experience in Software Development.
Expertised in Php Development, WordPress Custom Theme Development (From scratch using underscores or Genesis Framework or using any blank theme or Premium Theme), Custom Plugin Development. Hands on Experience on 3rd Party Php Extension like Chilkat, nSoftware.

Recent Posts

  • Advanced Server Management: Setting Up an Ollama Reverse Proxy
  • How to Enable Blynk Server Ports on Ubuntu with UFW
  • Automating Apache Domain Management on Ubuntu: A Guide to Provisioning & Security
  • Debugging a 150k-Request 404 Storm: How I Saved My WordPress Server from High Load
  • How to Host 40+ Sites on a Single 32GB RAM Server (Without the “Lag”)

Copyright © 2026 · Vinay Vengala