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

Vengala Vinay

Having 12+ 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 12+ Years of Experience in Software Development, Vinay is a principal software architect, senior systems engineer, and elite technical consultant. He specializes in bespoke PHP/WordPress development, high-performance Magento 2 & Shopify architectures, custom plugin/theme development from scratch, and legacy code modernization (including VB6, VB.NET, PyQt, and Crystal Reports). Known for solving complex database bottlenecks, speed optimization (Core Web Vitals), and advanced security code auditing, Vinay engineers production-ready systems designed to scale under heavy concurrent load conditions.



Chat on WhatsApp

Recent Posts

  • Install PHP 5.6 , Mysql , phpMyAdmin, Apache Server using XAMPP 5.6.40
  • Creating your first plugin
  • Implementing automated compliance reporting for custom member profile directories ledgers using native PHP ZipArchive streams
  • Performance Optimization: Tuning PHP-FPM and opcache pools for high-concurrency Twilio SMS Gateway handlers
  • Advanced Diagnostics: Locating slow Active Record Wrapper query bottlenecks in WooCommerce custom checkout pipelines

Categories

  • apache (1)
  • Business & Monetization (390)
  • Centos (4)
  • Comparisons & Decision Making (55)
  • Debian (2)
  • Debugging & Troubleshooting (663)
  • Desktop Applications (14)
  • DevOps (7)
  • DevOps & Cloud Scaling (962)
  • Django (1)
  • Laravel (4)
  • Migration & Architecture (192)
  • Mobile Applications (24)
  • MySQL (1)
  • Performance & Optimization (873)
  • PHP (5)
  • PHP Development (49)
  • Plugins & Themes (244)
  • Programming Languages (10)
  • Python (20)
  • Ruby on Rails (1)
  • Security & Compliance (650)
  • SEO & Growth (492)
  • Server (118)
  • Softwares (1)
  • Ubuntu (9)
  • VB6 & VB.NET (8)
  • Web Applications & Frontend (19)
  • Web Assembly (Wasm) (2)
  • WordPress (22)
  • WordPress Plugin Development (728)
  • WordPress Theme Development (357)

Recent Posts

  • Install PHP 5.6 , Mysql , phpMyAdmin, Apache Server using XAMPP 5.6.40
  • Creating your first plugin
  • Implementing automated compliance reporting for custom member profile directories ledgers using native PHP ZipArchive streams

Top Categories

  • DevOps & Cloud Scaling (962)
  • Performance & Optimization (873)
  • WordPress Plugin Development (728)
  • Debugging & Troubleshooting (663)
  • Security & Compliance (650)
  • SEO & Growth (492)

Our Products

  • ERP & LMS Systems (4)
  • Directories & Marketplaces (4)
  • Healthcare Portals (3)
  • Point of Sale (POS) (2)
  • E-Commerce Engines (2)

Our Services

  • E-Commerce Development (10)
  • WordPress Development (8)
  • Python & Desktop GUI (7)
  • General Consulting (7)
  • Legacy Modernization (5)
  • Mobile App Development (4)

Copyright © 2026 · Vinay Vengala